[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] ANN: an XML Schema simpleType for UUIDs with no encoded information
- From: "Michael Kay" <mike@saxonica.com>
- To: "'Costello, Roger L.'" <costello@mitre.org>,<xml-dev@lists.xml.org>
- Date: Sun, 7 Mar 2010 21:42:46 -0000
>
> UUIDs are often used as unique identifiers. Here's an example usage:
>
> <Book-Request>
> <Book-ID>4655eb25-e5c8-435a-b0ea-7460d8f28cce</Book-ID>
> </Book-Request>
>
> The value of <Book-ID> is a UUID.
>
> UUID's have this format:
>
> 8-4-4-4-12
>
Isn't that an entirely accidental and irrelevant property of UUIDs? Why
would you want your application to depend on UUIDs having exactly this
format? Would you really want it to fail if the UUID is in some new
not-yet-invented format?
(Yes, I know this relates back to earlier conversations you started about
the purpose of validation....)
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]