RE: How to limit errors from XML::LibXML::Schema

"Ludwig, Michael" <[email protected]> Thu, 16 Sep 2010 16:31:23 +0200
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
> I'm using XML::LibXML::Schema to validate a document against 
> a schema. Malicious input of documents with lots of errors is 
> causing me a headache as the error string code obviously does 
> some recursion and I get:
> 
> Deep recursion on subroutine "XML::LibXML::Error::as_string" 
> at /usr/local/lib/perl/5.10.0/XML/LibXML/Error.pm line 182
> 
> Does anyone know if there is a way to limit the number of 
> errors found/reported or any other way of avoiding the deep recursion.

Another bug report in RT would probably be a way of avoiding it
in the long run.

Michael
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs