Margy, the question makes perfect sense. To check the schema itself for validity, you can select XML>Validate>xmlschema (Ctrl+8, the penultimate RELAX NG schema).
XML>Validate>XML Schema validates an instance document against the schema indicated in the schemaLocation or noNameSpaceSchemaLocation attribute.
I hope this helps. If anything isn't working as it should, please let me know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This must be an idiotic question, but I have opened a simple XML schema and pressed F5 to validate it, and I get "No XML Schema found". The schema is:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="program">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="title" type="xsd:string" />
<xsd:element name="preface" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
So it couldn't be much simpler!
What do I need to do to validate a schema?
Thanks in advance!
Margy Young
myoung@uua.org
Margy, the question makes perfect sense. To check the schema itself for validity, you can select XML>Validate>xmlschema (Ctrl+8, the penultimate RELAX NG schema).
XML>Validate>XML Schema validates an instance document against the schema indicated in the schemaLocation or noNameSpaceSchemaLocation attribute.
I hope this helps. If anything isn't working as it should, please let me know.