Hi

I need to prevent the generated Struts validation.xml file from validating itself 
against the DTD.  When generated it contains the line:

<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator 
Rules Configuration 1.0//EN" 
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";>

I don't want this validation to take place as it can't connect and throws an exception.

My strutsvalidationxml ant task is:

         <strutsvalidationxml
            mergedir="${build.xdoclet.dir}/struts-validation"
            version="1.1"
            validatexml="false"/>

I would presume that this would prevent the validation (this is indicated by the 
XDoclet documentation), but validation is still attempted.  I have also tried the case 
version 'validateXML'.

Please can you advise on where I am going wrong?
I am using XDoclet 1.2, Ant 1.6.1, JDK 1.4.0_01

thanks
Matt


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to