[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Why Use anyURI
- From: "Heitke.Chris" <Chris.Heitke@ftb.ca.gov>
- To: <firstname.lastname@example.org>
- Date: Tue, 14 Sep 2010 17:35:33 -0700
I have been asked what data type should be used for a
website address element in a schema?
At first I thought the anyURI type would be appropriate. Maybe
would insure the data is valid address. Whereas the string type might not…
problem is, validation tests show that the anyURI type allows virtually
anything, just like the string type… So why use anyURI as a base data
type? It does not appear to provide any greater assurance that the data will be
better qualified than what would be gotten from a string?
Christopher A. Heitke
of California, FTB
CONFIDENTIALITY NOTICE: This email from the State of California is for the sole use of the intended recipient and may contain confidential and privileged information. Any unauthorized review or use, including disclosure or distribution, is prohibited. If you are not the intended recipient, please contact the sender and destroy all copies of this email.
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please