Hi, I just discovered an issue with dom4j 1.4 which I've been using in production for a good while. Apparently when reading a document from disk like this one ... <test>K & B</test> ...
And then writing it back out again with XMLWriter and the standard pretty-print formatter, the & entity is just wiped clean. No trace of it in the document on disk. If I don't set an output format, the problem doesn't occur. I wasn't able to tell from the bug fix list- did someone specifically fix this in 1.5? It does *appear* to be fixed but I wanted to make sure. Also, is there a build target in the ant script that will build a 1.4 style jar, that includes Jaxen and Dom4j in the same jar? Thanks- it is very good to see active maintenance on this project. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev