Bugs item #1180769, was opened at 2005-04-11 16:47 Message generated for change (Comment added) made by maartenc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1180769&group_id=16035
Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Thomas Fromm (tfromm) >Assigned to: Maarten Coene (maartenc) Summary: .asXML() seems still not valid in dom4j 1.5.2 Initial Comment: I read the UTF-8 document from file using the FileInputStream and the SAXReader.read(...) returns me a document with the correct value of .getXMLEncoding(). But if i use .asXML() the resulting string is no utf-8. :-( (it seems asXml() returns the document encoded in the vm system encoding) Using StringWriter with the XMLWriter to serialize the document into a string returns valid result. ---------------------------------------------------------------------- >Comment By: Maarten Coene (maartenc) Date: 2005-04-11 19:32 Message: Logged In: YES user_id=178745 This has already been fixed in CVS. regards, Maarten ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1180769&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