[ https://issues.apache.org/jira/browse/FOR-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717018#action_12717018 ]
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 'forrest.properties' configuration file: project.urifile=${project.home}/src/documentation/conf/uris.txt 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 http://forrest.apache.org/howto-dev.html#validate-intermediate > enable validation of the internal xml > ------------------------------------- > > Key: FOR-1172 > URL: https://issues.apache.org/jira/browse/FOR-1172 > 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" > > http://forrest.apache.org/howto-dev.html#debug-validation > 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.