RE: [xml-dev] ANN: an XML Schema simpleType for UUIDs with no encoded information

From
Michael Kay <>
To
"'Costello, Roger L.'" <>,
Date
2010-03-07T21:42:46
ID
<8147BE54ACBB4E2D836A2C9C5BBC8DFC@Sealion>
Thread
RE: [xml-dev] ANN: an XML Schema simpleType for UUIDs with no encoded information
> 
>  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