Closed untereiner closed 3 years ago
Hrm the AbstractPoint3dArray
type is completely empty and xsdata sees it as a dummy type and flattens its usages... I wonder why I added that check there....
warning: Reset dummy type: NilReasonEnumeration
warning: Reset dummy type: AbstractDQ_PositionalAccuracy
warning: Reset dummy type: EX_Extent
warning: Reset dummy type: AbstractValueArray
warning: Reset dummy type: AbstractGeodeticCrs
warning: Reset dummy type: AbstractProjectedCrs
warning: Reset dummy type: AbstractVerticalCrs
warning: Reset dummy type: AbstractProjectedCrs
warning: Reset dummy type: AbstractVerticalCrs
warning: Reset dummy type: AbstractTimeInterval
warning: Reset dummy type: AbstractTimeInterval
warning: Reset dummy type: AbstractPoint3dArray
warning: Reset dummy type: AbstractPoint3dArray
warning: Reset dummy type: AbstractValueArray
warning: Reset dummy type: AbstractPoint3dArray
warning: Reset dummy type: AbstractPoint3dArray
warning: Reset dummy type: AbstractValueArray
warning: Reset dummy type: AbstractPoint3dArray
warning: Reset dummy type: AbstractPoint3dArray
warning: Reset dummy type: AbstractValueArray
warning: Reset dummy type: AbstractParametricLineArray
warning: Reset dummy type: AbstractPoint3dArray
warning: Missing extension type: TypeEnum
warning: Reset dummy type: AbstractValueArray
warning: Reset dummy type: AbstractPoint3dArray
warning: Reset dummy type: AbstractValueArray
thanks for reporting @untereiner, I 'll have to enhance the dummy type check a bit
Amazing find @untereiner, that was one of the oldest hacks in the codegen process, it was a mystery I guess at the time why certain types weren't flattened and weren't generated either. I guess at that time I was overwhelmed with use cases and I simply decided to mute them all.
But running it again today, it made things sooo clear, thank you for bring-it forward again!
The fix is on master and will be included in the next release!
Thanks I will try the fix on my xsd set asap
Still using clusters option for the generation: The type of points in the PointGeometry class should be AbstractPoint3dArray and not object