> > Approach with <map:parameter name="target" value="welcome"/> generates code
> > in wrong place, which cause compilation error of sitemap. So I guess it
> > could be treated as a BUG.

There is something that could save a lot of time to people working with
Cocoon2 : having a option to validate sitemap against DTD while
compiling
it.

Having an exception about a non-valid document is better than an
exception
about a failed compilation.

Can we add in cocoon.xconf something like :

        <sitemap 
                file="sitemap.xmap" 
                reload-method="asynchron" 
                check-reload="yes"
                validate="true"/>

There are already two files named sitemap.dtd in the CVS (one would be
enought).

Doing the same for XSP is more difficult because of namespace and
taglibs, but would also be very usefull.


-- 
Sébastien Koechlin - IVision - [EMAIL PROTECTED]

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

Reply via email to