I'm no longer developing with Struts. I was contacted privately with
an issue that Struts 1.2 brings to <strutsvalidationxml> and I'm
passing it along...
Begin forwarded message:
From: "Wessel de Roode" <[EMAIL PROTECTED]>
Date: July 4, 2004 1:35:02 PM EDT
To: <[EMAIL PROTECTED]>
Subject: Struts Validation arg0 is depreciated
Hi,
The latest common-validator and Struts 1.2 the arg0 tag in the
validation.xml is depreciated and no longer working.
I’ve made a fix for it in the source, it’s not a structural fix more
something that has it works for now.
Basically I only use the new dtd for the static variables that already
were named _11 .. And I removed the 0 in the xdt for the arg0 tag.
I haven’t test it with the old common-validator that is packed with
struts 1.1
Wessel
Index:
modules/apache/src/xdoclet/modules/apache/struts/
StrutsValidationXmlSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/
struts/StrutsValidationXmlSubTask.java,v
retrieving revision 1.9
diff -r1.9 StrutsValidationXmlSubTask.java
24,25c24,25
< private final static String VALIDATION_PUBLICID_11 = "-//Apache
Software Foundation//DTD Commons Validator Rules Configuration
1.0//EN";
< private final static String VALIDATION_SYSTEMID_11 =
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";
---
> private final static String VALIDATION_PUBLICID_11 = "-//Apache
Software Foundation//DTD Commons Validator Rules Configuration
1.1//EN";
> private final static String VALIDATION_SYSTEMID_11 =
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";
Index:
modules/apache/src/xdoclet/modules/apache/struts/resources/
validation_xml.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/
struts/resources/validation_xml.xdt,v
retrieving revision 1.9
diff -r1.9 validation_xml.xdt
43c43
< <arg0 key="<XDtClass:classTagValue
tagName="struts:form" paramName="name"/>.<XDtValidator:fieldName/>"/>
---
> <arg key="<XDtClass:classTagValue
tagName="struts:form" paramName="name"/>.<XDtValidator:fieldName/>"/>
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user