Re: [libxml-devel] Formatting Schema Validation Errors

2009-05-07 Thread Norihito YAMAKAWA
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 rd

[libxml-devel] Formatting Schema Validation Errors

2009-05-07 Thread Sudhindra Kulkarni
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 __