3 ms·
XML schema sucks, really sucks, when you use XML correctly and ignore node order. How is ignoring node order "correct" (and on the flip side, how is demanding
by personZ 12y ago
XML schema sucks, really sucks, when you use XML correctly and ignore node order.
How is ignoring node order "correct" (and on the flip side, how is demanding an order using it "wrongly")? In many XML parser implementations, node order is reflected in the resulting DOM. Yes, a schema lets you demand that nodes come in a specific order, and this is a complete non-problem, generally -- the whole point of schemas is that they very tightly define the format, and source systems abide by it, even if that means they have to alter the generating order to be compliant.