Re: [xml] Incorrect Behaviour of xmlSchemaValidateStream



On Fri, Oct 26, 2007 at 11:21:04AM +0530, Ashwin wrote:
 

Hi, 

  When I use xmlSchemaValidateStream with an input file containing CDATA, I
am not getting the callback I have registered for a CData block, I went
through the code and I think the problem lies with the function
cdataBlockSplit on lines

 

28299 (ctxt->user_sax->ignorableWhitespace != NULL))

28300     ctxt->user_sax->ignorableWhitespace(ctxt->user_data, value, len); 

 

I suppose instead of ignorableWhitespace it should be cdataBlock on both the
lines?

  Looking at this old report, it seems fixed in CVS now,

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]