James,
We have been using
JDOM for a year or so and now you have to confuse the world with dom4j which has
all the bits we now know JDOM should have.....hm
Anyway, one of the
problems not solved by JDOM is the transparent encoding of values represented as
Java Strings (e.g. Attribute value, Text Element values) into the generated XML.
As you know Java
Strings are UNICODE. If I put a value of \uh0000 for example as char
in an Attribute value, JDOM generates a zero char which cannot be re-parsed (XML
encoding does not help as \uh0000 is an invalid XML char). The correct solution
is to encode it in BASE64 or some such. It would be great to have a transparent
mechanism to do this.
A quick look at the
API, I am not sure if or how this is handled in dom4j.
csw
Avisto, SA
Email : [EMAIL PROTECTED]
Phone : +33 4 9294 2201
After Hours
Phone : +33 4 9377 5047
Mobile : +33 6 1139
6872