cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] ExternalDTD Sun Apr 4 23:00:03 2004
Date Sun, 04 Apr 2004 21:00:03 GMT
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
+ }}}
+ 



Mime
View raw message