tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: XML configuration revisited
Date Tue, 12 Oct 1999 09:48:03 GMT
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

Mime
View raw message