Hi, 
Actually my intentions are modest. I want to validate whether the tags
in server.xml are properly nested. I've had difficulty with this in
web.xml before (when setting url-mappings). That's besides the general
goal of improving my understanding of tomcat's configuration &
terminlogy.
L.


On Mon, 2004-08-30 at 13:39, Benjamin Armintor wrote:
> You wouldn't find it in the servlet spec, because it's specific to Tomcat.
> 
> Check the archives, but as I recall, there's no published grammar for the 
> server.xml: It's parsed in non-validating mode by the Digester.  A DTD wouldn't work 
> because the attributes for an element are arbitrary (to accomodate user 
> implementations of the Catalina interfaces).  I appreciate the idea: I wrote a 
> schema for the 4.1.x server.xml when I wanted one to validate against, but it was 
> kind of a bear.  What are you trying to do? 
> 
> -- Benjamin Armintor 
> 
> 
> -----Original Message-----
> From: Luke (Terry) Vanderfluit [mailto:[EMAIL PROTECTED]
> Sent: Sun 8/29/2004 10:53 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat 5.0.27 xml schema or DTD for server.xml
>  
> Hi,
> 
> I am running tomcat 5.0.27. 
> I'm looking for a copy of the xml schema for the server.xml file.
> I've looked on the jakarta website and in the 2.4 servlet spec, but
> can't find it, 
> Maybe there's only a DTD at this stage,
> 
> Anyone know where to find it?
> 
> TIA,
> Luke
-- 
========================
Luke (Terry) Vanderfluit 
Mobile: 0421 276 282     
========================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to