Bugs item #1173536, was opened at 2005-03-30 21:02 Message generated for change (Comment added) made by maartenc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1173536&group_id=16035
Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Edwin Dankert (edankert) Assigned to: Maarten Coene (maartenc) Summary: AbstractDocument.asXML() returns wrongly encoded chars. Initial Comment: When using the AbstractDocument.asXML() the characters returned are encoded using the default encoding instead of the encoding used in the writer. Current: ByteArrayOutputStream out = new ByteArrayOutputStream(); XMLWriter writer = new XMLWriter(out, outputFormat); writer.write(this); return out.toString(); This line should read: return out.toString( outputFormat.getEncoding()); ---------------------------------------------------------------------- >Comment By: Maarten Coene (maartenc) Date: 2005-04-01 22:45 Message: Logged In: YES user_id=178745 This has been fixed in CVS Maarten ---------------------------------------------------------------------- Comment By: Edwin Dankert (edankert) Date: 2005-03-31 21:34 Message: Logged In: YES user_id=452928 Hello Maarten, That change has fixed the problem. Regards, Edwin ---------------------------------------------------------------------- Comment By: Maarten Coene (maartenc) Date: 2005-03-30 22:17 Message: Logged In: YES user_id=178745 Edwin, I've made some changes to the asXML() implementation some days ago. Could you verify if your problem still occurs... regards, Maarten ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1173536&group_id=16035 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev