in this page : http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html
There is this example which interested but it's not working because class="SAXException" does not exists.
<map:selector name="exception" src="org.apache.cocoon.selection.ExceptionSelector">
<exception name="processing" class="ProcessingException" unroll="true"/>
<exception name="sax" class="SAXException"/>
<exception name="application" class="ApplicationException"/>
</map:selector>
...
<map:pipeline>
<map:match pattern="resource">
...
</map:match>
<map:handle-errors>
<map:select type="exception">
<map:when test="processing">...</map:when>
<map:when test="sax">...</map:when>
<map:when test="application">...</map:when>
</map:select>
</map:handle-errors>
</map:pipeline>
I'm interesting in catching the SAXException, has someone already done that ?
Thanks a lot. Lionel
Lionel CRINE Ing�nieur Syst�mes documentaires Soci�t� : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
