Re: [xml-dev] Why Use anyURI

From
Jesper Tverskov <>
To
Date
2010-09-15T08:51:11Z
ID
<>
Thread
Re: [xml-dev] Why Use anyURI
Indication of intent is often better than nothing: almost everything
goes but don't use @ unless as used in email address, don't use space
unless %20, don't use # unless it is a fraction identifier, don't use
?, &, =, unless querystring, etc, etc, and don't use anything but
ASCII unless it makes sense that it will work.

If it is all important to get some of the above validated, make a
user-defined type based un xs:anyURI and restrict it with REGEX.

Cheers,
Jesper Tverskov

http://www.xmlkurser.dk
http://www.xmlplease.com