[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Why Use anyURI
- From: Jesper Tverskov <jesper.tverskov@gmail.com>
- To: xml-dev@lists.xml.org
- Date: Wed, 15 Sep 2010 18:21:11 +0930
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]