Re: [xml-dev] Keep sequencing order of XML list of elements?

From
Richard Salz <>
To
"Porzio, Christian" <>
Date
2010-03-08T16:22:35Z
ID
<>
Thread
Re: [xml-dev] Keep sequencing order of XML list of elements?
> Can we assume a sequence of identical XML nodes will have the same 
> order in the memory of the receiver once they have been parsed?

What kind of memory?  XML DOM?  SAX calls?  Java or C# object?

Your specs should at least say that elements must be processed in document 
order.  That way when someone misbehaves, you can point out where they are 
in violation.  If you add a seqno attribute, there's less chance of that 
happening. Depending on the application and target audience, that may or 
may not be necessary.

        /r$

--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/