So I have a process that listens to a JMS topic pumping out XML messages.
When it receives a message, the process uses JIBX to convert the XML into
Java objects.
Generally speaking, it works fine but the parser seems to choke when it is
sent certain accent chars... seems to be some sort of doc encoding problem
but these encoding issues always seem to stump me :-(
The error is "Error parsing document (line 10, col 64)".... line 10 is as
follows:
<?xml version="1.0" encoding="UTF-8"?>
....
<hometeam teamid="73422" teamname="AS Tamarii Faa´a" countryid="281"
countrycd="FRENCH POLYNESIA"/>
...
What's strange is that I save the raw XML of the problematic message to file
and run my code on that, it works fine. And certain other accent chars don't
present a problem. For example, Division Fédérale.
Can anyone guess as to what the issue is / how to fix it?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users