[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Keep sequencing order of XML list of elements?
- From: Richard Salz <rsalz@us.ibm.com>
- To: "Porzio, Christian" <christian.porzio@hp.com>
- Date: Mon, 8 Mar 2010 11:22:35 -0500
> 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/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]