From: "Peter Robins" <[EMAIL PROTECTED]>

> For me, the big advantage of
> Cocoon is not the 'separation of concerns', which I've been doing for
years
> with Perl/PHP templating systems, but the sitemap, which provides a clean,
> simple, standardised way of defining processes on the site. If your
sitemap
> matches 404 errors with a read of a page_not_found.html, then it's clear
> what's happening; if you have to look into an xslt script to see what it
> does, then it's not so clear.

Understand. In fact I have already made a Selector that selects the pipeline
to use by selecting on any of the error notification parameters.
Currently we are in code freeze for 2.0.2, so I can't commit it, but be sure
I will tackle this as soon as the release is out.
I'll have also to go round the code and make all errors more descriptive and
make the errors be properly cascaded.

> On Sunday 17 Mar 2002 1:52 pm, Nicola Ken Barozzi wrote:
> > I agree, and I'm working on a FAQBuilder, that gives more helpful
messages
> > based on info from a FAQ.
>
> hmm, sounds interesting
>
> > The Cocoon webapp is a *sample*, not a template.
>
> ah, but I bet most people use it as a template.

I know ;-)

This is why I'm restructuring the samples to make it easier to use them as
templates.
Version 2.0.2 will have the new restructured ones as a WIP.

> Going off at a tangent, in your previous posting, you mentioned correcting
> the sitemap DTD. It would be good if this could be checked against the
actual
> logic and then implemented properly. At the moment, it seems in some
places
> to be incorrect, so can't be used for validating.

Many checks were put in the latest sitemap, and the new TreeProcessor
sitemap is very effective in telling what's wrong.
As for the error handling, it's in a flux for now, since using multiple
"handle-errors" will be deprecated in favor of a Selector used inside.
If there are evident errors in the DTD, please tell me, so I can patch it
before next week's release.

Thank you :-)

--
Nicola Ken Barozzi                   [EMAIL PROTECTED]
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to