Yesterday I needed to use the FormatterToXML to format the DOM to an output file (the old formatting I used didn't work sufficiently well). But an odd thing happened: All the attributes of all elements were printed out backwards (!). By enumerating the attribute backwards in FormatterToXML (row 1016 XMLSupport/FormatterToXML.cpp) I got it to print the attributes in correct order.
I use Xerces V2.1.0 (deprecated interface) to parse the XML files, and Xalan V1.4 for outputting them. My question is if anyone knows where the order mismatch occurs ? /Rob
