Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 10812 invoked by uid 6000); 12 Oct 1999 09:49:16 -0000 Received: (qmail 10795 invoked from network); 12 Oct 1999 09:49:13 -0000 Received: from eastwood.aldigital.algroup.co.uk (194.128.162.193) by taz.hyperreal.org with SMTP; 12 Oct 1999 09:49:13 -0000 Received: from freeby.ben.algroup.co.uk (freeby.ben.algroup.co.uk [193.133.15.6]) by eastwood.aldigital.algroup.co.uk (8.8.8/8.6.12) with ESMTP id JAA13734; Tue, 12 Oct 1999 09:48:04 GMT Received: from algroup.co.uk (naughty.ben.algroup.co.uk [193.133.15.107]) by freeby.ben.algroup.co.uk (8.6.12/8.6.12) with ESMTP id KAA01786; Tue, 12 Oct 1999 10:48:15 +0100 Message-ID: <380303D3.A379475B@algroup.co.uk> Date: Tue, 12 Oct 1999 10:48:03 +0100 From: Ben Laurie Organization: A.L. Group plc X-Mailer: Mozilla 4.7 [en] (WinNT; I) MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org CC: new-httpd@apache.org Subject: Re: XML configuration revisited References: <3801D8DD.F6C88C1C@db.com> <3801EA44.C7F97663@algroup.co.uk> <38022BA1.34BC3E48@eng.sun.com> <380230B4.5BF68CCD@algroup.co.uk> <38024BF5.76809DC3@apache.org> <380252D8.433B5213@algroup.co.uk> <38027155.FA09878E@apache.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Pierpaolo Fumagalli wrote: > > Ben Laurie wrote: > > > > No, Apache config _is_ validated. > > > > [...] > > > > Well, that's cool, but I'm not sure I understand the "own DTD" aspect: > > we require a mix (that is, a module needs to be able to say "these tags > > are valid within that other modules tag-so-and-so"). > > > Sorry, but I think these two are contraddicting... How can you have a > DTD if you don't know the elements that are in your XML file? Either you > generate a DTD depending on your Apache configuration (so for whatever > module gets compiled in or loaded as DSO) or you cannot properly > "validate" (in the strict term of validation against a DTD) the source. Exactly. This is the point I'm making (which is why I keep calling it an XDTD). Cheers, Ben. -- http://www.apache-ssl.org/ben.html "My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there." - Indira Gandhi