[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] uuid string format



On Mon, May 22, 2006 at 03:45:04PM +0200, Karel Zak wrote:
> 
>  Hello,
> 
>  I've found that we use in our XML dump:
> 
>   <uuid>%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x</uuid>
> 
>  it's strange format of the UUID string representation. Is there any
>  reason for this format?  I think normal (rfc4122) is format:
> 
>   "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x"
> 
>  it means with '-'.

  RFC 4122 is for URN embedding, that's a specific use. We are not following 
that syntax anyway since it's not an URN, we really don't need to encode this
as an URI, only as an unambiguous ASCII string, and the current format does
the job minimally.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]