On Mon, Mar 14, 2005 at 04:52:22AM +0000, SiM wrote: > Hi All, > Is there a way to find whether the XML Document being parsed is > well formed or not, So that Processing the document can be stopped (or need > not be started at all ). > > Foe Eg: something like this, <start> <first> </start> > > is there a single API , which would tell me about this, before parsing really > starts ? or is it possible only when the document parsing has begun ?
Detecting well formedness is only the result of parsing. There is no shortcut. What are you trying to do ? Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [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
