You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2004/04/04 23:00:03 UTC

[WIKI-UPDATE] ExternalDTD Sun Apr 4 23:00:03 2004

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
+ }}}
+