[XOM-interest] Text - Character not allowed in XML Content

Elliotte Harold elharo at metalab.unc.edu
Fri Mar 7 10:47:15 EST 2008


Diego Campo wrote:
> Hi,
> 
> According to the XML spec., this character is legal, so I'm not
> filtering it beforehand. But I'm finding this:
> 
> Exception in thread "Worker0" nu.xom.IllegalCharacterDataException: 0x3
> is not allowed in XML content

Looks like you're reading XML 1.1. XOM only supports (and only will 
support) XML 1.0. I'd ask why you're encountering that character in your 
data. It's hard to believe its significant or correct. It's an obsolete 
character that hasn't been seen for years.

-- 
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