> I think if you upgrade to the latest of all your Struts dependencies the problem > will be solved.
Thanks for this advice, but no joy I'm afraid. Can you be more specific about which files need to be upgraded? These are the jar files I have in my xdoclet directory: 90k Apr 1 09:06 commons-collections-2.0.jar 161k Jun 29 2003 commons-collections.jar 31k Jun 29 2003 commons-logging.jar 344k Apr 1 09:06 log4j.jar 34k Apr 1 09:06 maven-xdoclet-plugin-1.2.jar 486k Apr 1 09:06 struts.jar 143k Apr 1 09:06 xdoclet-1.2.jar 55k Apr 1 09:06 xdoclet-apache-module-1.2.jar 69k Apr 1 09:06 xdoclet-bea-module-1.2.jar 11k Apr 1 09:06 xdoclet-borland-module-1.2.jar 18k Apr 1 09:06 xdoclet-caucho-module-1.2.jar 1.2k Apr 1 09:06 xdoclet-de-locale-1.2.jar 188k Apr 1 09:06 xdoclet-ejb-module-1.2.jar 9.8k Apr 1 09:06 xdoclet-exolab-module-1.2.jar 2.4k Apr 1 09:06 xdoclet-fr_FR-locale-1.2.jar 34k Apr 1 09:06 xdoclet-hibernate-module-1.2.jar 6.5k Apr 1 09:06 xdoclet-hp-module-1.2.jar 11k Apr 1 09:06 xdoclet-ibm-module-1.2.jar 10k Apr 1 09:06 xdoclet-java-module-1.2.jar 85k Apr 1 09:06 xdoclet-jboss-module-1.2.jar 18k Apr 1 09:06 xdoclet-jdo-module-1.2.jar 12k Apr 1 09:06 xdoclet-jmx-module-1.2.jar 5.3k Apr 1 09:06 xdoclet-libelis-module-1.2.jar 15k Apr 1 09:06 xdoclet-macromedia-module-1.2.jar 12k Apr 1 09:06 xdoclet-mockobjects-module-1.2.jar 15k Apr 1 09:06 xdoclet-mvcsoft-module-1.2.jar 4.3k Apr 1 09:06 xdoclet-mx4j-module-1.2.jar 22k Apr 1 09:06 xdoclet-objectweb-module-1.2.jar 16k Apr 1 09:06 xdoclet-oracle-module-1.2.jar 13k Apr 1 09:06 xdoclet-orion-module-1.2.jar 5.5k Apr 1 09:06 xdoclet-portlet-module-1.2.jar 5.8k Apr 1 09:06 xdoclet-pramati-module-1.2.jar 21k Apr 1 09:06 xdoclet-pt_BR-locale-1.2.jar 9.1k Apr 1 09:06 xdoclet-solarmetric-module-1.2.jar 32k Apr 1 09:06 xdoclet-sun-module-1.2.jar 8.2k Apr 1 09:06 xdoclet-sybase-module-1.2.jar 4.8k Apr 1 09:06 xdoclet-tjdo-module-1.2.jar 39k Apr 1 09:06 xdoclet-web-module-1.2.jar 9.0k Apr 1 09:06 xdoclet-webwork-module-1.2.jar 54k Apr 1 09:06 xdoclet-xdoclet-module-1.2.jar 234k Apr 1 09:06 xjavadoc-1.0.2.jar -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Erik Hatcher Sent: 02 April 2004 13:57 To: [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] strutsvalidationxml validatexml task There used to be a problem with Struts and DTD validation that would cause it to check the jakarta site for the DTD, and I had a hack in the generator to avoid writing out the DOCTYPE line. But, this was fixed in a later version of Struts so I removed the hack. I think if you upgrade to the latest of all your Struts dependencies the problem will be solved. The validatexml switch is for build-time validation, not run-time, and the DTD for the build-time validation is built into the XDoclet Struts JAR and works as it should. Erik On Apr 2, 2004, at 4:54 AM, Matthew Hegarty wrote: > 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 ------------------------------------------------------- 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 ------------------------------------------------------- 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
