I am involved in an international initiative to standardize the
communication protocol of airport devices.
We heavily use XML in our standard and we are facing a question that no
one in our group, including myself can come to a resolution without adding
The problem is:
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?
Or do we have to add a sequenceID element to ensure the receiver orders
these nodes accordingly.
In other words, should we send:
or more simply
If we want to make sure that Text1 is processed 1st then Text2, so on and
It is my understanding if we enforce DOM parsing, then the ID is useless
as the text elements will naturally keep the same sequencing.
Any feedbacks or references would be greatly appreciated. I haven't found
any specifics so far.
Thank you many in advance for your assistance.
Mobile +1 404 610