Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 1642 invoked by uid 500); 23 May 2003 11:29:58 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 1628 invoked from network); 23 May 2003 11:29:57 -0000 Received: from unknown (HELO host.leverageweb.com) (64.91.232.157) by daedalus.apache.org with SMTP; 23 May 2003 11:29:57 -0000 Received: from dhcp205162.hq.af.mil ([134.205.205.162] helo=WHEW00073U.leverageweb.com) by host.leverageweb.com with esmtp (Exim 3.36 #1) id 19JAhD-0002Wk-00 for cocoon-dev@xml.apache.org; Fri, 23 May 2003 07:26:47 -0400 Message-Id: <5.2.0.9.0.20030523071505.00a69140@leverageweb.com> X-Sender: cocoon@leverageweb.com@leverageweb.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 23 May 2003 07:29:38 -0400 To: cocoon-dev@xml.apache.org From: Geoff Howard Subject: Re: [NEW] webapp config with xconf tool In-Reply-To: <1053665598.1592.110054.camel@ighp> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.leverageweb.com X-AntiAbuse: Original Domain - xml.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - leverageweb.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 12:53 AM 5/23/2003, David wrote: > > This would be ignored in non > > xerces parsers, but would only cause a UnknownHostException when > > the parser attempts to retrieve the DTD from a file being patched > > (from web.xml, for example). If needed, other parser implementations > > (keep in mind this is only during build) may have similar mechanisms. > >So would any other parsers ever be used during the build? >If not, then we can remove the xmlcatalog stuff from the >XConfToolTask.java ... less code, easier to maintain. >Anyway, it seems that that code is not actually doing local >DTD resolution. It's a good bet that xerces is the only parser that would ever get used during the build, but as soon as we make that assumption Murphy's Law will kick in. I'm not sure it matters though since we can't redistribute that dtd and the whole point of this was to add convenience to the build for the uninitiated user. The reason I left the xmlcatalog code in was that I could imagine it being useful hypothetically but wasn't quite sure. The "magic" xerces parameter only applies to dtd resolving. Of course, I'm having trouble thinking of concrete examples of entities that would need to be resolved from the outside world in the context of the patch tool (except the web.xml dtd). So, if no one comes up with an argument in favor of xpatch using xmlcatalog, I'll take that stuff out. I think I also should turn entity expansion again, as I suppose that could be useful and there is really no reason to turn it off AFAICS. Geoff