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

RE: [DM]Relative order of Attribute Nodes

From: Michael Rys <mrys@microsoft.com>
Date: Wed, 3 Nov 2004 11:41:16 -0800
Message-ID: <BAE415CEAA831548800F68C44E905AF5CEF889@RED-MSG-60.redmond.corp.microsoft.com>
To: "Mukul Gandhi" <mukul_gandhi@yahoo.com>, <public-qt-comments@w3.org>

The XML Infoset does not prescribe an order for attributes on an
element. Thus, the Data model cannot do this either.

You may say: XML legacy is the reason.

Best regards
Michael

> -----Original Message-----
> From: public-qt-comments-request@w3.org [mailto:public-qt-comments-
> request@w3.org] On Behalf Of Mukul Gandhi
> Sent: Wednesday, November 03, 2004 11:29 AM
> To: public-qt-comments@w3.org
> Subject: [DM]Relative order of Attribute Nodes
> 
> 
> Hello,
>   In the "XQuery 1.0 and XPath 2.0 Data Model"
> document at
> http://www.w3.org/TR/2004/WD-xpath-datamodel-20041029/
> , it is suggested (in section 2.4) that the relative
> order of Attribute Nodes is stable but
> implementation-dependent. This means, that the @*[n]
> expression (where n is a +ve integer) may give
> different results between different implementations.
> 
> Would it not be appropriate to make "the relative
> order of Attribute Nodes" consistent across
> implementations. If it cannot be made consistent
> across implementations, I am curious to know the
> reason behind this..
> 
> Regards,
> Mukul
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
> 
> 
Received on Wednesday, 3 November 2004 19:41:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:02 UTC