Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 43098 invoked from network); 4 Apr 2004 21:00:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Apr 2004 21:00:11 -0000 Received: (qmail 54663 invoked by uid 500); 4 Apr 2004 20:59:58 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 54636 invoked by uid 500); 4 Apr 2004 20:59:58 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@cocoon.apache.org Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 54622 invoked from network); 4 Apr 2004 20:59:58 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (157.193.121.51) by daedalus.apache.org with SMTP; 4 Apr 2004 20:59:58 -0000 Received: from otsrv1.iic.ugent.be (localhost [127.0.0.1]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id i34L03O04058 for ; Sun, 4 Apr 2004 23:00:03 +0200 Date: Sun, 4 Apr 2004 23:00:03 +0200 Message-Id: <200404042100.i34L03O04058@otsrv1.iic.ugent.be> From: stevenn@outerthought.org To: docs@cocoon.apache.org Subject: [WIKI-UPDATE] ExternalDTD Sun Apr 4 23:00:03 2004 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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: + + {{{ + + + 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 + }}} +