Renaud Richardet wrote:
I have been creating dummy content for one of our publications. The document files under content/authoring all have the long uuid hash as folder name (e.g. 39218710-3e61-11db-9355-d674a0018e0e/). For convenience, I usually change the first letters of the uuid and give it a more meaningful name (e.g. news-710-3e61-11db-9355-d674a0018e0e). For this, I update the folder name and the uuid in sitetree.xml.
Any risk that I might run into trouble for doing this?

You don't have UUIDs anymore. For instance, if only the first number
of two UUIDs is different, and you rename both to news-[...], you
get a clash. I would strongly discourage changing UUIDs.

Another question: is the generated uuid a random hash, or is there any semantics in it?

There are different semantics:

   1. Time-based with unique or random host identifier
   2. DCE Security version (with POSIX UIDs)
   3. Name-based (MD5 hash)
   4. Random
   5. Name-based (SHA-1 hash)

(http://home.famkruithof.net/guid-uuid-make.html)


Lenya's default UUID generator uses the Axis UUIDGenFactory:

http://ws.apache.org/axis/java/apiDocs/index.html

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to