Subject: | parse_stylesheet not throwing exception |
The documentation about the parse_stylesheet method states that an exception will be thrown on invalid XSLT. Unfortunately, this is not happening because the libxslt error function is not being set. According to Matt Sergeant's email to perl-xml@listserv.ActiveState.com dated 18/06/2002, "the solution is to work the same way as XML::LibXML - a global error SV which gets appended to. If SvCUR(error_sv) is > 0, then there was an error, and so croak with it."
Marc - Sitepak