Hello,

I am trying out XDoclet 1.0.1 with Tomcat.  I was trying to use
servlet spec 2.2.  The web.xml works fine in Tomate 3.2.3.  However,
when I run it in Tomcat 4.0, it chokes on the following line in the
generated web.xlm:

   <distributable>true</distributable>

It claims this element must be empty.  Sure enough, I checked the DTD:

<!--
The distributable element, by its presence in a web application
deployment descriptor, indicates that this web application is
programmed appropriately to be deployed into a distributed servlet
container
-->

<!ELEMENT distributable EMPTY>

So, it sounds like if distributable is true, the web.xlm should look
like:

   <distributable/>

If distributable is false, the tag should not be included at all.
Does this sound reasonable?

-Dave

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to