You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by "Parker, Michael" <Mi...@AXA.de> on 2007/10/26 11:58:43 UTC

howto nekodtd ?

Hi,

I just try to apply nekodtd for own dtd.
At the forrest documentation I just found a hint to nekodtd.

I changed forrest.properties to  include project.required.plugins=org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.input.dtdx.

forrest-dtds are document with "dtdname.dtdx.html" and the input map of the plugin defines

    <map:match type="regexp" pattern="^(.*?)([^/]*)\.dtdx\.xml$">
        <map:generate type="nekodtd" src="{lm:forrest.schema.{2}}">
          <map:parameter name="config-class" value="org.cyberneko.dtd.DTDConfiguration" />
        </map:generate>
        <map:transform src="{lm:dtdx.transform.dtdx.flat}" />
        <map:transform src="{lm:dtdx.transform.flat.document}" />
        <map:serialize type="xml-document"/>
      </map:match>
    </map:pipeline>

So I converted with dtd2dtdx.bat manually my.dtd to my.dtdx.xml,  put my.dtdx.xml into the src/documentation/content/xdocs.
But I couldn't call it simply by http://localhost:8888/my.dtdx.html

I just get
The requested resource "/my.dtdx.html" could not be found

What did I miss ?
Any hints
Michael


The plugin installation seemed to be ok:
      --------------------------------------------------------------
      Installing plugin: org.apache.forrest.plugin.input.dtdx
      --------------------------------------------------------------


check-plugin:
org.apache.forrest.plugin.input.dtdx is available in the build dir. Trying to update it...

fetch-plugin:
Trying to find the description of org.apache.forrest.plugin.input.dtdx in the different descriptor files
Using the descriptor file D:\tqm\tools\jameleonForrest\build\tmp\plugins-1.xml...
Processing D:\tqm\tools\jameleonForrest\build\tmp\plugins-1.xml to D:\tqm\tools\jameleonForrest\build\tmp\pluginlist2fetchbuild.xml
Loading stylesheet D:\webentw\forrest\forrestsrc\main\var\pluginlist2fetch.xsl

get-local:
Trying to locally get org.apache.forrest.plugin.input.dtdx
Looking in local D:\webentw\forrest\forrestsrc/plugins
Found !

local-deploy:
Locally deploying org.apache.forrest.plugin.input.dtdx
Plugin org.apache.forrest.plugin.input.dtdx deployed ! Ready to configure
Fetch-plugin Ok, installing !

configure-input-plugin:
Mounting input plugin: org.apache.forrest.plugin.input.dtdx
Processing D:\tqm\tools\jameleonForrest\build\tmp\input.xmap to D:\tqm\tools\jameleonForrest\build\tmp\input.xmap.new
Loading stylesheet D:\webentw\forrest\forrestsrc\main\var\pluginMountSnippet.xsl
Moving 1 file to D:\tqm\tools\jameleonForrest\build\tmp
Processing D:\tqm\tools\jameleonForrest\build\tmp\resources.xmap to D:\tqm\tools\jameleonForrest\build\tmp\resources.xmap.new
Loading stylesheet D:\webentw\forrest\forrestsrc\main\var\pluginMountSnippet.xsl
Moving 1 file to D:\tqm\tools\jameleonForrest\build\tmp

configure-plugin-locationmap:
Mounting plugin locationmap for org.apache.forrest.plugin.input.dtdx
Processing D:\tqm\tools\jameleonForrest\build\tmp\locationmap.xml to D:\tqm\tools\jameleonForrest\build\tmp\locationmap.xml.new
Loading stylesheet D:\webentw\forrest\forrestsrc\main\var\pluginLmMountSnippet.xsl
Moving 1 file to D:\tqm\tools\jameleonForrest\build\tmp
=========================================================================
AXA Service AG
Sitz der Gesellschaft Köln
Handelsregister Köln HR B Nr. 23764
Vorsitzender des Aufsichtsrats: Alfred Bouckaert
Vorstand: Dr. Frank W. Keuper, Vorsitzender 
Wolfgang Hanssmann, Dr. Markus Hofmann, Ulrich C. Nießen, 
Anette Rosenzweig, Dr. Heinz-Peter Roß, Gernot Schlösser, Jens Wieland
-------------------------------------------------------------------------
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach.
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser
E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer den
bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht
der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so 
bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
-------------------------------------------------------------------------
For legal and security reasons the information provided in this e-mail is
not legally binding. Upon request we would be pleased to provide you with
a legally binding confirmation in written form. Any form of unauthorised
use, publication, reproduction, copying or disclosure of the content of 
this e-mail is not permitted. This message is exclusively for the person
addressed or their representative. If you are not the intended recipient
of this message and its contents, please notify the sender immediately.
=========================================================================