You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jean-francois Arcand <je...@sun.com> on 2002/08/20 20:35:55 UTC

[PATCH][Catalina] Validation turned off by default.

Hi,

attached is a patch that implement the mechanism to turn off/on the XML 
validation and namespace awareness.  Starting with this patch, 
validation/namespace will be turned off. If you want to turn it on, do:

<Host name="localhost" debug="0" appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="true" xmlNamespaceAware="true">

*xmlValidation and xmlNamespaceAware are optional attributes. Current 
server.xml file are still supported.

I did not implement the functionality for server.xml and user.xml since 
the validation was turned off by default (and willnot work if validation 
is turned on).

Thanks,

-- Jeanfrancois