Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How to retrieve XML CDATA text contents by org.xml.sax.ext.DefaultHandler2? >Thread Next - Re: How to retrieve XML CDATA text contents by org.xml.sax.ext.DefaultHandler2? Re: How to retrieve XML CDATA text contents by org.xml.sax.ext.DefaultHandler2?To: NULL Date: 5/5/2009 12:07:00 AM Mon, 04 May 2009 09:39:44 -0400, /Lew/: > Stanimir Stamenkov wrote: > >> You need to set the "lexical-handler" [1] property of the parser with >> the reference to your handler in addition to setting it as a >> 'contentHandler': > > Are you sure about that? Yes. As you've suggested you may consult with the API docs reference to which I've supplied. If you perform a simple test you'll see for yourself, too. Note I've meant one needs to set a "lexical-handler" only to detect CDATA section boundaries, i.e. to receive 'startCDATA' and 'endCDATA' events, not as requirement to read the content of CDATA sections (if that wasn't clear). -- Stanimir | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
