You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the case of a restriction inside a complexContent, I'm not able to get the base complexType
Expected behavior
Hello
I'm working on a interactive xsd to xml builder, and inside my xsd there is a complexType witch define a complex content that restrict an other base complexType, but unfortunately i couldn't get this base complexType. the class XsdRestriction has a method getSimpleType, but doesn't have a methode getComplexType. Unlike the XsdExtension class that posses getBaseAsComplexType method.
Thanks. Library Version
1.2.0
It was indeed an issue, both XsdExtension and XsdRestriction should be coherent according to the documentation. I did the fix and deployed a new version, 1.2.4.
Now you have getBaseAsComplexType and getBaseAsSimpleType in the XsdRestriction type.
Describe the bug
In the case of a restriction inside a complexContent, I'm not able to get the base complexType
Expected behavior
Hello
I'm working on a interactive xsd to xml builder, and inside my xsd there is a complexType witch define a complex content that restrict an other base complexType, but unfortunately i couldn't get this base complexType. the class XsdRestriction has a method getSimpleType, but doesn't have a methode getComplexType. Unlike the XsdExtension class that posses getBaseAsComplexType method.
Thanks.
Library Version
1.2.0
Additional context
xsd:complexContent
<xsd:restriction base="dm:RelationalColumn">
<xsd:attribute name="orphanRemoval" type="xsd:boolean" use="prohibited"/>
<xsd:attribute name="unique" type="xsd:boolean" use="prohibited"/>
<xsd:attribute name="index" type="xsd:boolean" use="prohibited"/>
<xsd:attribute name="massUpdate" type="xsd:boolean" use="prohibited"/>
</xsd:restriction>
</xsd:complexContent>
The text was updated successfully, but these errors were encountered: