Re: uuid string format

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

 



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@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]