[jdom-interest] about xml encoding!

=?gb2312?q?r=20shangw?= shangwr2000 at yahoo.com.cn
Thu Apr 11 20:58:25 PDT 2002


hi;
i'm using jdom-8b now.i met a problem:
org.jdom.JDOMException: Error on line 3 of document
file:/D:/bea61/wlserver6.1/test_report.xml: An
nvalid XML character (Unicode: 0xb2) was found in the
element content of the document.
        at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:363)
        at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:707)
        at
org.jdom.input.SAXBuilder.build(SAXBuilder.java:689)

I use chinese word in the xml file and set
encoding="GBK", but it seems jdom can't recognize that
. HOW CAN I DO NOW ???
thanks advance!


_________________________________________________________
Do You Yahoo!? 
30 ÕÅÃâ·ÑÊÀ½ç±­ÇòƱ 7 ÌìËÍÍ꣡ÓÐÖÖÄã¾Í¿ìÀ´ÇÀ£¡
http://cn.promo.yahoo.com/49/



More information about the jdom-interest mailing list