forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <>
Subject [jira] Commented: (FOR-1172) enable validation of the internal xml
Date Sun, 07 Jun 2009 08:20:07 GMT


David Crossley commented on FOR-1172:

This is how it works ...

When Cocoon generates the site, it crawls each document and gathers any new links to be processed.
There is a special URI "linkmap" which is the map of the complete site.

This is utilised to have a special sitemap match "linkmap.validation-start.xml" which transforms
the linkmap to have links ending in "*.validation.xml".

Cocoon has the ability to include extra URIs for processing. Add the line "linkmap.validation-start.xml"
to a conf/uris.txt file. Then add the following line to the '' configuration

This causes Cocoon to generate all the "*.validation.xml" validation report files.

After the 'forrest site' completes, Ant summarises all those reports into build/tmp/validation-reports.html
and then removes all the individual reports.

See also

> enable validation of the internal xml
> -------------------------------------
>                 Key: FOR-1172
>                 URL:
>             Project: Forrest
>          Issue Type: Improvement
>          Components: XML grammars & validation
>            Reporter: David Crossley
>            Assignee: David Crossley
>             Fix For: 0.9-dev
> We already have one way to validate the xml at any part of the Cocoon sitemaps:
>  "Using Cocoon Validation Transformers"                                             
> So use this to enable validating the intermediate xml.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message