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>
Those two samples rendres the same in IE (encoded different),
But when parsing them in JBoss the attribute-value is exactly as in the files.
Why ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838452#3838452

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838452


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to