cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <nicola...@apache.org>
Subject Real word pipeline metadata processing (Fw: Is it possible to fire an error from a XSL file ?)
Date Mon, 08 Apr 2002 15:30:38 GMT
If we encourage metadata in the pipeline, this is one of the problems we
will have to deal with.

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------

----- Original Message -----
From: "Sylvain Fétiveau" <sylvain.fetiveau@webmotion.com>
To: <cocoon-users@xml.apache.org>
Sent: Monday, April 08, 2002 5:14 PM
Subject: Is it possible to fire an error from a XSL file ?


> Hi,
>
> When someone requests an URL like /glossary/*.html, I use a single XML
> file for all the glossaries + an XSL file to transform it (I pass the
> filename of the glossary page to the XSL transformer). Sometimes, an
> unexisting page is requested (i.e. a page which is not listed in my
> large XML file). Is there a way to "fire" something to make cocoon
> consider this request as an error 404, which will be then handled ? As
> long as I handle the 404 errors, I guess that it's not a real problem if
> I already outputed some content when I "fire" my error... Or maybe I
> should write a Xalan extension to redirect the user to my error 404
> page...
>
> Thank you in advance.
>
> --
> °v° Sylvain Fétiveau   Tel. (613) 731-4046
> / \ Webmotion Inc.     http://www.webmotion.com
> " " mailto:sylvain.fetiveau@webmotion.com



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message