June 2004
Intermediate to advanced
216 pages
6h 8m
English
If an error that occurs during processing throws an exception, the exception handler tries to find an ErrorStylesheet to use to process XML of the following format:
<error>
<file>/usr/htdocs/xml/foo.xml</file>
<msg>Something bad happened</msg>
<stack_trace> <bt level="0">
<file>/usr/lib/perl/site/AxKit.pm</file>
<line>342</line> </bt>
</stack_trace> </error>There may be multiple bt tags. If an exception
occurs when the error stylesheet is transforming the above XML, then
a SERVER ERROR occurs and an error is written in the Apache error
log.
AxErrorStylesheet text/xsl /stylesheets/error.xsl
Read now
Unlock full access