-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
My source XML Schema has enumerations, which are correctly parsed by Ontmalizer. However, within each of my enumerations is documentation. It looks like this:
<xs:simpleType name="issuesYears">
<xs:restriction base="xs:unsignedInt">
<xs:enumeration value="1">
<xs:annotation>
<xs:documentation xml:lang="en">Less than one year</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="2">
<xs:annotation>
<xs:documentation xml:lang="en">1 to 2 years</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="3">
<xs:annotation>
<xs:documentation xml:lang="en">3 to 5 or more years</xs:documentation>
</xs:annotation>
</xs:enumeration>
And the resulting OWL is:
http://www.hudhdx.info/Resources/Vendors/FY2022/HUD_HMIS.xsd#issuesYears_Enumeration
:issuesYears_Enumeration rdf:type owl:NamedIndividual ,
dtype:Enumeration ;
dtype:hasValue :issuesYears_1 ,
:issuesYears_2 ,
:issuesYears_3 .
It would be great if Ontmalizer picked up these changes, and added the documentation to describe the enumeration values.
Metadata
Metadata
Assignees
Labels
No labels