Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] filtering processing instructions

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Tatu Saloranta <cowtowncoder AT yahoo.com>
  • To: Benson Margulies <bim2007 AT basistech.com>, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] filtering processing instructions
  • Date: Tue, 18 Sep 2007 21:00:43 -0700 (PDT)

Yes, that control character is illegal in xml content. CDATA section has
similar character validity rules as the rest of xml document. So you have to
get those characters removed from the input, or replaced by something legal
(like space chars). This can be done for example by having a filtering reader.

-+ Tatu +-

----- Original Message ----
From: Benson Margulies <bim2007 AT basistech.com>
To: xom-interest AT lists.ibiblio.org
Sent: Tuesday, September 18, 2007 5:49:52 PM
Subject: Re: [XOM-interest] filtering processing instructions

I think these are resulting from feeding a somewhat messy file to the
XOM Builder via an InputSource. This seems to be independent of the
NodeFactory. It just shows up on System.err. Is this possible, or should
I be looking for another culprit?

[Fatal Error] :18:12626: An invalid XML character (Unicode: 0x1a) was
found in the CDATA section.
[Fatal Error] :18:1689: An invalid XML character (Unicode: 0x1a) was
found in the CDATA section.
[Fatal Error] :18:1004: An invalid XML character (Unicode: 0x1a) was
found in the CDATA section.
[Fatal Error] :18:5171: An invalid XML character (Unicode: 0x1a) was
found in the CDATA section.
[Fatal Error] :18:2163: An invalid XML character (Unicode: 0x1a) was
found in the CDATA section.
[Fatal Error] :18:11983: An invalid XML character (Unicode: 0x1a) was
found in the CDATA section.
[Fatal Error] :18:5171: An invalid XML character (Unicode: 0x1a) was
found in the CDATA section.
[Fatal Error] :18:12626: An invalid XML character (Unicode: 0x1a) was
found in the CDATA section.

_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest






____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz




Archive powered by MHonArc 2.6.24.

Top of Page