Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] problems with "ä"

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Luca Passani <passani AT eunet.no>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] problems with "ä"
  • Date: Sat, 29 Mar 2008 07:31:44 -0700

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/



  • Re: [XOM-interest] problems with "ä", Elliotte Harold, 03/29/2008

Archive powered by MHonArc 2.6.24.

Top of Page