tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: server.xml
Date Fri, 23 Jun 2000 17:30:56 GMT
On Fri, 23 Jun 2000, Craig R. McClanahan wrote:
> This approach is incredibly flexible, because the semantics is defined
> solely by what the program parsing this file looks for -- the XML elements
> that don't match the defined patterns are simply ignored, and the attribute
> names are totally up to the objects you create.  Thus, the DTD syntax is not
> powerful enough to capture what things are legal and what things are not
> legal, and you cannot use a validating XML parser to read this file.

	If it's just attributes that prevent a DTD, you could change it so
the tage look like <ATTRIBUTE NAME="..." TYPE="..." VALUE="..."> and then
a DTD could specify it - though it wouldn't restrict the available
attributes for any particular entry.

Aaron


Mime
View raw message