[Standards] Re: [jdev] XEP-0115: Entity Capabilities

Michal 'vorner' Vaner vorner at ucw.cz
Fri Jun 29 02:23:29 CDT 2007


Hello

On Thu, Jun 28, 2007 at 04:12:25PM -0600, Joe Hildebrand wrote:
>  - For all sorting, use the Unicode Collation Algorithm 
>  (http://www.unicode.org/unicode/reports/tr10/)
>  - Initialize an empty string E
>  - sort the identities by category, then type
>  - for each identity, append the category, then the type (if it exists) to E 
>  (note: any information inside an identity will be ignored)
>  - sort the features by URI
>  - for each feature, append the URI to E  (note: any information inside a 
>  feature will be ignored)

Wouldn't be enough to just throw all the URIs to one place, sort them
and concatenate them together? Would be less work than to sort by category
then by...

(I like the hash idea, I just think one sorting is enough)

-- 
Fragile. Do not turn umop ap1sdn!

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/standards/attachments/20070629/8bdf8c0f/attachment.pgp


More information about the Standards mailing list