[XOM-interest] problems with "ä"
Elliotte Harold
elharo at metalab.unc.edu
Sat Mar 29 10:31:44 EDT 2008
Luca Passani wrote:
> 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>
>
Almost certainly, the problem is that the document isn't really UTF-8.
YO'd have to attach it for me to check out though. I can't tell that
from something pasted in e-mail, I'm afraid. :-(
> 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
>
>
> _______________________________________________
> XOM-interest mailing list
> XOM-interest at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
--
Elliotte Rusty Harold elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
More information about the XOM-interest
mailing list