[XOM-interest] problems with "ä"

Luca Passani passani at eunet.no
Mon Oct 22 08:41:18 EDT 2007


Elliotte Harold wrote:
>
>
> The exception is being thrown deep in Xerces, so I expect the document 
> is indeed malformed. If it's XOM code that's creating the document, 
> there could be a bug there. Do you have that code for someone to look at?
>

here is the malformed document.
<?xml version="1.0" encoding="UTF-8"?>
<wurfl>
      <contributor name="Ville Skyttä" email="ville.skytta at steam.fi"/>
</wurfl>

and here is the code:

        Builder parser = new Builder();
        Document doc = parser.build(filename);

should be enough to reproduce the problem. (BTW, this is XOM 1.0. Not 
sure if this makes a difference)....

Thanks

Luca




More information about the XOM-interest mailing list