[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: RE: Namespaces, Xml Schema Whitespace normalization, xs:anyURI, and URILiterals in XPath 2.0
  • From: "Rick Jelliffe" <rjelliffe@a...>
  • Date: Wed, 29 Mar 2006 11:34:49 +1000 (EST)
  • Importance: Normal
  • In-reply-to: <200603281927.k2SJRIHk024533@m...>
  • References: <20060328172851.3114.qmail@w...> <200603281927.k2SJRIHk024533@m...>
  • User-agent: SquirrelMail/1.4.2

The other aspect to anyURI is that if you are using a simple type derived
by list from anyURI, then whitespace will be used as a token delimiter.
Therefore in XML you cannot use literal spaces in URI-ish strings for
types derived by list from anyURI. The same issue arises for the
schemaLocation hint.

It is probably prudent to simply avoid spaces in URIs altogether.

Cheers
Rick Jelliffe

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member