I did some much deeper digging; for example I was able to get Pluto
to marshal and unmarshal a servlet 2.4 descriptor file that validated
against the J2EE 2.4 XSD (right now some of the elements in the
castor mappings are out of order, the castor mapping files aren't
able to support namespaces, and the OutputFormatter of
AbstractCastorDescriptorService uses the incorrect Doctype etc).

Also, if I'm reading the 2.4 xsd correctly, the <distributable/> element must not contain content. I presume that if <distributable/> is present then the webapp is distributable, and if <distributable/> is *not* present the webapp is not distributable. Currently the castor mapping places a "<distributable>false</distributable>" in the web.xml which doesn't validate against the xsd.

So I guess what I meant by my original question (admittedly vague) is: is it worth it to fix these issues in 1.0.1? Do they exist in 1.1 (I didn't check)? Should they be fixed? I'll work on opening a Jira and go from there.

Thanks,
Elliot

Reply via email to