Bugs item #1180769, was opened at 2005-04-11 14:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1180769&group_id=16035

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Fromm (tfromm)
Assigned to: Nobody/Anonymous (nobody)
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. 
 
 

----------------------------------------------------------------------

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

Reply via email to