Why do I get different outputs for the 'root' element in the following program ? How can I get
the same output using partText ?
Element root1 = DocumentHelper.createElement( "root" ).addText( "≤" ); Document document = DocumentHelper.parseText("<root>≤</root>");
System.out.println(root1.asXML()); System.out.println(document.asXML()); --------------------------------------------------------------------------------------------------- Output: <root>&#8804;</root> <?xml version="1.0" encoding="UTF-8"?> <root>?</root> Thanks in advance Heitor ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user