You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Rajesh J Advani <ra...@wipro.com> on 2001/05/25 18:21:33 UTC
DOM2Writer attribute order bug
I'm using SOAP2.1, and Xerces 1.3.0
On calling DOM2Writer.nodeToString(), what I get in the string is the
attributes of any element in what seems like Alphabetical order.
Is this a known problem, or is this how it's supposed to behave?
TIA,
--
Rajesh J Advani
-----------------------------------
Intolerance will not be tolerated!
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: DOM2Writer attribute order bug
Posted by Rajesh J Advani <ra...@wipro.com>.
> Its not a bug .. attributes are not ordered in the DOM.
Ah yes. I found that out. But I could swear I had got a validation error
at one time. But it's not there now, so that's ok.
> The actual order is implementation dependent.
> I would be surprised if they did come back in
> alphabetical order instead of the creation order.
Well they do come back in alphabetical order. Surprised me too.
--
Rajesh J Advani
-----------------------------------
Intolerance will not be tolerated!
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: DOM2Writer attribute order bug
Posted by Rajesh J Advani <ra...@wipro.com>.
> Its not a bug .. attributes are not ordered in the DOM.
Ah yes. I found that out. But I could swear I had got a validation error
at one time. But it's not there now, so that's ok.
> The actual order is implementation dependent.
> I would be surprised if they did come back in
> alphabetical order instead of the creation order.
Well they do come back in alphabetical order. Surprised me too.
--
Rajesh J Advani
-----------------------------------
Intolerance will not be tolerated!
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: DOM2Writer attribute order bug
Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
Its not a bug .. attributes are not ordered in the DOM. The
actual order is implementation dependent. I would be surprised
if they did come back in alphabetical order instead of the
creation order.
Sanjiva.
----- Original Message -----
From: "Rajesh J Advani" <ra...@wipro.com>
To: <so...@xml.apache.org>
Sent: Friday, May 25, 2001 12:21 PM
Subject: DOM2Writer attribute order bug
> I'm using SOAP2.1, and Xerces 1.3.0
>
> On calling DOM2Writer.nodeToString(), what I get in the string is the
> attributes of any element in what seems like Alphabetical order.
>
> Is this a known problem, or is this how it's supposed to behave?
>
> TIA,
> --
> Rajesh J Advani
> -----------------------------------
> Intolerance will not be tolerated!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: DOM2Writer attribute order bug
Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
Its not a bug .. attributes are not ordered in the DOM. The
actual order is implementation dependent. I would be surprised
if they did come back in alphabetical order instead of the
creation order.
Sanjiva.
----- Original Message -----
From: "Rajesh J Advani" <ra...@wipro.com>
To: <so...@xml.apache.org>
Sent: Friday, May 25, 2001 12:21 PM
Subject: DOM2Writer attribute order bug
> I'm using SOAP2.1, and Xerces 1.3.0
>
> On calling DOM2Writer.nodeToString(), what I get in the string is the
> attributes of any element in what seems like Alphabetical order.
>
> Is this a known problem, or is this how it's supposed to behave?
>
> TIA,
> --
> Rajesh J Advani
> -----------------------------------
> Intolerance will not be tolerated!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org