W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

[XQuery ] doc. order of attribute nodes created in element constructor

From: Jan Hidders <jan.hidders@ua.ac.be>
Date: Mon, 02 Feb 2004 15:52:13 +0100
Message-ID: <401E641D.9010706@ua.ac.be>
To: public-qt-comments@w3.org

L.S.,

Can the implementation of a computed elemement constructor freely choose 
the order of the attribute nodes? For example, is the result of

  element { "a" } { attribute { "b" } { "" }, attribute { "c" } { "" } }

always

   <a b="" c=""/>

or can it also be

   <a c="" b=""/>

? I would expect the latter for fundamental (attributes are essentially 
unordered) and practical reasons (letting the implementation choose a 
certain ordering my sometimes make certain operations more efficient), 
but It's not clear to me what the informal and formal semantics exactly 
have to say about this.

I already raised a related point before (the document order of the 
contents of an element created with a computed element constructor seems 
underspecified) but am not sure about the follow-up, so if this has 
already been discussed I apologize.

-- Jan Hidders

-- 
   .-----------.-----------------------------------------------------.
  / Jan Hidders \  Home Page: http://www.win.ua.ac.be/~hidders/       \
 .---------------.-----------------------------------------------------.
 | Post-doctoral researcher               e-mail: jan.hidders@ua.ac.be |
 | Dept. Math. & Computer Science         tel: (+32) 3 265 38 73       |
 | University of Antwerp                  fax: (+32) 3 265 37 77       |
 | Middelheimlaan 1, BE-2020 Antwerpen, BELGIUM     room: G 3.21       |
 `---------------------------------------------------------------------'
 
Received on Monday, 2 February 2004 09:53:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:17 UTC