Re: [xml] Help on finding out badly formed Xml documents.
- From: Daniel Veillard <veillard redhat com>
- To: SiM <face2faceonlinux yahoo co in>
- Cc: xml gnome org
- Subject: Re: [xml] Help on finding out badly formed Xml documents.
- Date: Mon, 14 Mar 2005 05:52:29 -0500
On Mon, Mar 14, 2005 at 10:35:25AM +0000, SiM wrote:
If the document is not well formed, the things i do in the callback is not working fine
(Application related stuff), if i have to achieve it then i have to keep more information in the context,
So i was wondering whether i can bypass parsing, if the document is not well formed. Hence, was looking for
such API.
Ok, if such errors are detected like the one mentioned above during Parsing , how can i stop parsing , is
there any Error callback related to it ?
yes there are error callbacks, see both SAX blocks or the
http://xmlsoft.org/html/libxml-xmlerror.html
See also
http://xmlsoft.org/html/libxml-parser.html#xmlStopParser
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
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]