Skip to Content.
Sympa Menu

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

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Diego Campo <diego.campo AT properazzi.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] Text - Character not allowed in XML Content
  • Date: Fri, 07 Mar 2008 13:41:57 +0100

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
at
nu.xom.Verifier.throwIllegalCharacterDataException(Verifier.java:154)
at nu.xom.Verifier.checkPCDATA(Verifier.java:205)
at nu.xom.Text._setValue(Text.java:126)
at nu.xom.Text.<init>(Text.java:62)

Cheers
Diego





Archive powered by MHonArc 2.6.24.

Top of Page