XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS