Attribute order is unimportant in XML, so the attributes can be delivered
by the parser in any order, and Xalan can copy/serialize them in any order.
If your application is sensitive to attribute order, you should fix it.
Dave
"Bielik, Robert"
<[EMAIL PROTECTED] To:
<[email protected]>
yros.com> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: Backward attributes ?
04/29/2003 12:48
AM
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
- Backward attributes ? Bielik, Robert
- Re: Backward attributes ? david_n_bertoni
- Re: Backward attributes ? david_marston
- RE: Backward attributes ? hernando . borda
- RE: Backward attributes ? Bielik, Robert
