OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

----- Original Message ----- 
From: "Simon St.Laurent" <simonstl@simonstl.com>

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS