-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for xsd:union
#601
Comments
memberTypes
which have 2 or more other types are not covered yet.XSD
files, memberTypes
which have 2 or more other types are not covered yet.
XSD
files, memberTypes
which have 2 or more other types are not covered yet.XSD
to DSA conversion, memberTypes
which have 2 or more other types are not covered yet.
Adding few examples here, since web links have a tendency of becoming broken links. <xs:simpleType>
<xs:union memberTypes="label_point empty-string"/>
</xs:simpleType>
<xs:simpleType name="label_point">
<xs:restriction base="xs:decimal">
<xs:totalDigits value="10"/>
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="empty-string">
<xs:restriction base="xs:string">
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType> I thing DSA does not support polymorphic types, so I thing, we have a two options:
Also, we could add a resolution for a specific case. For example as in the example above, we could detect, that this is a |
XSD
to DSA conversion, memberTypes
which have 2 or more other types are not covered yet.xsd:include
implemented in the new version of XSD |
@karina-klinkeviciute so can this be closed then? |
taip, uždarysiu šį issue |
XSD files can have
memberTypes
which are unions of two or more types. In this case, we need to find which of those types is most generic and use it for matching the DSA type.Examples
Depends on
source.type
column ivpk/dsa#11Related
default()
function ivpk/dsa#10The text was updated successfully, but these errors were encountered: