Re: [xml-dev] If XML is too hard for a programmer, perhaps he'd b e better off as a crossing guard

From
Karl Waclawek <>
To
"Simon St.Laurent" <>,
Date
2003-03-31T21:10:19Z
ID
<001401c2f7c9$f2555140$9e539696@citkwaclaww2k>
Thread
Re: [xml-dev] If XML is too hard for a programmer, perhaps he'd b e better off as a crossing guard
----- Original Message ----- 
From: "Simon St.Laurent" <>

> >Couldn't you just run it through Perl's XML::Parser or equivalent?  
> 
> I don't think so, unless XML::Parser has added functionality way beyond
> expat's core - which tells me a CDATA section is starting or ending but
> doesn't let me scream "IGNORE THAT CDATA SECTION MARKER AND PARSE THE
> DAMN CONTENT NORMALLY!" 

Are you saying that in Expat the characterDataHandler reports the strings
"><![CDATA[" and "]]>" for a CDATA section? That should not happen unless
you are using an old version of Expat. But even then I believe that setting
a CDATASectionHandler should suppress that.

Karl