R
richard
Hi All,
I seem to be unable to validate a schema using this datatype:
<?xml version="1.0"?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="MyURI" type="xsd:uriReference"/>
</xsd:schema>
XMLSpy tells me:
"xsd:uriReference" must refer to an existing simple or complex type.
Is there something wrong with this? The textbook I'm using has
examples using this type.
Thanks for any help.
Richard
I seem to be unable to validate a schema using this datatype:
<?xml version="1.0"?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="MyURI" type="xsd:uriReference"/>
</xsd:schema>
XMLSpy tells me:
"xsd:uriReference" must refer to an existing simple or complex type.
Is there something wrong with this? The textbook I'm using has
examples using this type.
Thanks for any help.
Richard