You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@indexgeo.com.au> on 2002/11/11 03:37:20 UTC

build-time validation of core config

Recent changes now provide for build-time validation of
the core Forrest configuration files.
* all skinconf.xml
* all sitemap.xmap
* all XSL stylesheets

This shows up an error with the new editor sitemap, so
this is commented-out for now.
 src/resources/editor/editor.xmap
It uses an attribute for its map:pipeline called cacheable="true"
However, according to Cocoon there is no such attribute.
Rather it uses named pipelines. Does anyone know how to
properly express that? Then we can switch on validation of
all sitemaps.

--David




Re: build-time validation of core config

Posted by Jeff Turner <je...@apache.org>.
On Mon, Nov 11, 2002 at 01:37:20PM +1100, David Crossley wrote:
> Recent changes now provide for build-time validation of
> the core Forrest configuration files.
> * all skinconf.xml
> * all sitemap.xmap
> * all XSL stylesheets

Good stuff, thanks.  I copied the sitemap validation into
forrest.build.xml as well, so all projects have their sitemaps validated:

validate-sitemap:
Error at URL "file:/tmp/testsite/src/documentation/sitemap.xmap", line
number 104, column number 46: attribute "cheesy" not allowed at this
point; ignored
BUILD FAILED
file:/home/jeff/apache/xml/xml-forrest/build/dist/shbat/bin/../forrest.build.xml:742:
Validation failed, messages should have been provided.

--Jeff

> 
> --David