On Fri, Aug 03, 2007 at 09:28:49PM +0530, Ashwin wrote: > > Ok point taken,
:-) > but setting aside user defined entities. Something > like > > <element attr1= >missing AttValue in Attribute</element> > > also exhibits the same behaviour. Should it not return error, rather > than the character callback being invoked? paphio:~/XML -> ./testSAX test.xml xmlSAXUserParseFile returned error 39 SAX.setDocumentLocator() SAX.startDocument() SAX.error: AttValue: " or ' expected SAX.characters(missing AttValue in Attribute, 29) SAX.endDocument() xmlSAXUserParseFile returned error 39 paphio:~/XML -> Dohhhh. This should not happen. You need the endDocument() to help the application clear its context, but it should not push characters. I will investigate it is probably very easy. Thanks for pointinmg this out ! Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
