de4a-eu / xml-schemas

DE4A WP5 authoritative XML Schemas
Creative Commons Attribution 4.0 International
1 stars 1 forks source link

Usage of "xs:IDREF" in IdRefType seems to be incorrect #7

Closed phax closed 3 years ago

phax commented 3 years ago

Based on this snippet from common-types.xsd:

    <xs:simpleType name="IdRefType">
        <xs:restriction base="xs:IDREF"/>
    </xs:simpleType>

xs:IDREF type refers to an existing thing marked as ID. I suggest to change this to

    <xs:simpleType name="IdRefType">
        <xs:restriction base="xs:string"/>
    </xs:simpleType>