I'm currently using TidyLib to correct HTML codes from
web site pages into proper XHTML for eventual parsing
into a tree, but I'm thinking about using libxml to do
this instead because a) Tidylib seems to choke on some
pages with errors and b) it might be redundant code
since libxml has an HTML par
yes there are error callbacks, see both SAX blocks or the http://xmlsoft.org/html/libxml-xmlerror.htmlSee also http://xmlsoft.org/html/libxml-parser.html#xmlStopParserDaniel
Thanks for the information, Daniel, i will try them.
Cheers.
Simith
-- Daniel Veillard | Red Hat Desktop team http://red
On Mon, Mar 14, 2005 at 10:35:25AM +, 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
Daniel Veillard <[EMAIL PROTECTED]> wrote:
On Mon, Mar 14, 2005 at 04:52:22AM +, 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 t
On Mon, Mar 14, 2005 at 04:52:22AM +, 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,
>
> is ther