Closed woutdenolf closed 3 months ago
Closes #1368
This is not valid (see https://www.w3schools.com/xml/el_element.asp)
<xs:element name="example">rad</xs:element>
This PR proposes
<xs:element name="example" type="xs:string" fixed="rad"></xs:element>
This validator detected the issue:
import xmlschema xmlschema.XMLSchema("nxdl.xsd")
Should we add this to the tests?
Define an "example" element instead (https://github.com/nexusformat/definitions/issues/1368#issuecomment-1988759366)
Closes #1368
This is not valid (see https://www.w3schools.com/xml/el_element.asp)
This PR proposes
This validator detected the issue:
Should we add this to the tests?