cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <>
Subject handle-errors
Date Thu, 20 Jul 2000 11:53:53 GMT
I'm thinking of how errors could be handled in a sitemap. The proposed
draft states a 
     <map:when test="accepts('text/vnd.wap.wml')">
      <map:transform src="./styles/Pipeline2WML.xsl"/>
      <map:serialize type="wap"/>
      <map:transform src="./styles/Pipeline2HTML.xsl"/>

fragment. Now, how about making the now unique error handler a
SitemapComponent which gets the Exception thrown and starts spitting
SAX events to the pipeline as a special kind of Generator which renders
the error to the user?

Any comments?


PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7           
CH-8166 Niederweningen                    Web:

Do You Yahoo!?
Get Yahoo! Mail  Free email you can access from anywhere!

View raw message