Hi.

You can  obtain more "native" errors by LibXML::XML::Error#set_error_handler.
It capture all errors of libxml, such as parsing, schema validations, etc.

XML::Error object has error level, domain, occurred node and more informations.
Means of  the constants are not documented in ruby-libxml rdoc,
so you may see libxml C API.
http://www.xmlsoft.org/html/libxml-xmlerror.html#xmlError

2009/5/7 Sudhindra Kulkarni <kulkarni.su...@gmail.com>:
> Hi,
>
> I have a schema validation site where given and xml schema validation is
> performed. The output shown by the libxml is not well formatted is there a
> way to neatly format the output by overriding a class method of libxml? or
> something like that?
>
> Regards,
> Sudhindra
>
>
> _______________________________________________
> libxml-devel mailing list
> libxml-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/libxml-devel
>
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to