Page: http://wiki.cocoondev.org/Wiki.jsp?page=ExternalDTD , version: 9 on Sat
Apr 4 20:47:50 2004 by HelmaVanDerLinden
+ Update:
+
+ When I changed my Java code to use the org.apache.excalibur.xml.DomParser
following the common Avalon rules (servicemanager.lookup(DomParser.ROLE) rather
than initializing directly) I was able to change the above absolute paths to
relative paths:
+
+ {{{
+ <parameter name="local-catalog"
value="relative_path/to/file/mycatalog.cat"/>
+
+ relative to Cocoon root dir
+ }}}
+
+ and
+
+ {{{
+ -- Catalog file (mycatalog.cat) for myProject --
+
+ -- Driver file for the root DTD --
+ PUBLIC "-//MYPROJECT//DTD root V1.0//EN"
+ "mycatalog.dtd"
+
+ -- end of catalog file for myProject --
+
+ relative to the directory of the .cat file
+ }}}
+