I am using JBoss 3.2.3, and the JDom XML-package. This package uses the same parser JBoss already has installed.
When I parse documents, it seems that the encoding in the declaration-tag is ignored. The parser does not convert any encoded characters to unicode, thus every string is stored exactly as in the XML-document.
Anyone with any ideas ?
two examples :
<?xml version="1.0" encoding="UTF-8"?> <root> <test testatt="Tilbehør"/> </root> <?xml version="1.0" encoding="ISO-8859-1"?> <root> <test testatt="Tilbehør"/> </root>