You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dg...@apache.org on 2003/08/03 19:43:17 UTC
cvs commit: jakarta-commons/validator/conf/share validator_1_1.dtd
dgraham 2003/08/03 10:43:17
Modified: validator/conf/share validator_1_1.dtd
Log:
Added bundle attribute to Arg and Msg to support alternate resource
bundles for PR# 17543.
Revision Changes Path
1.4 +7 -1 jakarta-commons/validator/conf/share/validator_1_1.dtd
Index: validator_1_1.dtd
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/conf/share/validator_1_1.dtd,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- validator_1_1.dtd 25 May 2003 18:00:24 -0000 1.3
+++ validator_1_1.dtd 3 Aug 2003 17:43:17 -0000 1.4
@@ -126,6 +126,8 @@
The msg element accepts these attributes.
name The name of the validator corresponding to this msg.
+
+ bundle The resource bundle name that the key should be resolved in.
key The key that will return the message template from a
resource bundle.
@@ -135,6 +137,7 @@
[true]
-->
<!ELEMENT msg EMPTY>
+<!ATTLIST msg bundle CDATA #IMPLIED>
<!ATTLIST msg name CDATA #IMPLIED>
<!ATTLIST msg key CDATA #IMPLIED>
<!ATTLIST msg resource CDATA #IMPLIED>
@@ -149,6 +152,8 @@
name The name of the validator corresponding to this msg.
If not supplied, this argument will be used in the given
position for every validator.
+
+ bundle The resource bundle name that the key should be resolved in.
key The key that will return the message template from a
resource bundle.
@@ -163,6 +168,7 @@
-->
<!ELEMENT arg EMPTY>
<!ATTLIST arg key CDATA #REQUIRED>
+<!ATTLIST msg bundle CDATA #IMPLIED>
<!ATTLIST arg name CDATA #IMPLIED>
<!ATTLIST arg resource CDATA #IMPLIED>
<!ATTLIST arg position CDATA #IMPLIED>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org