Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] error I can't explain...

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Luca Passani <passani AT eunet.no>
  • To: 'xom-interest' <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] error I can't explain...
  • Date: Sat, 21 May 2005 01:42:34 +0200

Michael Kay wrote:

2C6 is a non-spacing circumflex, and it isn't allowed as a name character in
XML 1.0, though it is allowed in XML 1.1.

The question is, were you trying to get a non-spacing circumflex into a
name, or is this some random noise caused by misrecognizing the encoding of
your input file?

I am parsing random internet pages with TagSoup. I try to grab the encoding by parsing:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

but it appears that web browsers do a good job at rendering even when the encoding a page specifies is
wrong wrt the charset actually used. In those cases, I can get errors like the one reported above....

Thanks

Luca





Archive powered by MHonArc 2.6.24.

Top of Page