Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - xsd:uriReference >Thread Next - Re: xsd:uriReference Re: xsd:uriReferenceTo: NULL Date: 1/2/2008 7:14:00 PM richard@t... wrote: > 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. I think there is xsd:anyURI but not xsd:uriReference. See the specification <URL:http://www.w3.org/TR/xmlschema-2/#built-in-datatypes> -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
