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

Re: [Ltru] To invert or not to invert?



At 16:00 06/12/11, Doug Ewell wrote:

>If the Registry were converted to XML and accessed using normal XML methods, the multiple Description fields really would be in non-determininstic order, unless one was given a different name (or unless "rank" values were assigned).

No. The order of elements in XML is significant. The only
place where order isn't significant is attributes, but
you can't put multiple descriptions into attributes
without giving them different names, so you again break
the symmetry. Applications can declare that for some
cases, element order isn't significant, but generic XML
tools keep element order. Otherwise, we'd all read Web
pages in random sequence :-).

Of course, if the tool that converts from record-jar to
XML uses some random numbers, then the XML file will
contain the descriptions in random order, but once they
are in XML, they are fixed.

Regards,     Martin.



#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst at it.aoyama.ac.jp     


_______________________________________________
Ltru mailing list
Ltru at ietf.org
https://www1.ietf.org/mailman/listinfo/ltru


Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.