Gav.... wrote:
Ross Wrote:-

Gav.... wrote:


...


A 'Forrest Run' also works fine and the site displays great, all pages

work

fine Except the 'glossary.xml' test file which although displays,

produces

no content, just the menus and tabs etc..

...

1) request the XML source of the document, this should be an XDoc. If it
is not then it means the plugin is not intercepting and processing the
request.


Just looks like xml to me,
<glossary>
−
        <part id="a">
<title>A</title>


That confirms that the glossary plugin is not processing the XML file with the glossary-to-document.xsl

...

2) do "forrest run" then look in PLUGIN_HOME/build/webapp/logs/ to see
if there are any errors, in particular check that the
glossary-to-document.xsl is being found, and if not, why not


Amongst other things there is in the Locationmap.log :-

ERROR   [core.modules.mapper.lm] (/glossary.xml): Ignoring locationmap config 
exception: Unable to build LocationMap.

Caused by: org.apache.cocoon.ResourceNotFoundException: Resource not found.
        at <map:serialize type="xml"> - 
file:/D:/Apache2/forrest/main/webapp/sitemap.xmap:398:37

Caused by: java.io.FileNotFoundException: 
D:\Apache2\forrest\whiteboard\plugins\org.apache.forrest.plugin.input.glossary\src\documentation\content\locationmap.xml
 (The system cannot find the file specified)

Not a problem. This should really be reported as a warning not an error. There is an issue for this.

Not sure what the problem is, can you post the part of your input.xmap that you believe should be processing the glossary.xml to produce the xdoc from it.

Also tell us where you have put the glossary-to-document.xsl file.

Ross