While browsing through the Validator DTD, I noticed that the ‘formset’ element, which declares child elements ‘constant’ and ‘form’ was placed between the ‘constant’ and ‘form’ elements (position in file).
I’m not sure what impact (if any) this has on xml validation (no pun intended), but I thought I would mention it. I’m attaching a patch, in case someone thinks its necessary. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta
cvs diff -u validator-rules_1_1.dtd Index: validator-rules_1_1.dtd =================================================================== RCS file: /home/cvspublic/jakarta-struts/conf/share/validator-rules_1_1.dtd,v retrieving revision 1.3 diff -u -r1.3 validator-rules_1_1.dtd --- validator-rules_1_1.dtd 2 Aug 2002 21:22:52 -0000 1.3 +++ validator-rules_1_1.dtd 10 Aug 2002 01:47:46 -0000 @@ -57,6 +57,16 @@ <!-- + The "formset" element defines a set of forms for a locale. Formsets for + specific locales can override only those fields that change. The + localization is properly scoped, so that a formset can override just the + language, or just the country, or both. +--> +<!ELEMENT formset (constant*, form+)> +<!ATTLIST formset language CDATA #IMPLIED + country CDATA #IMPLIED > + +<!-- The "constant" element defines a static value that can be used as replacement parameters within "field" elements. The "constant-name" and "constant-value" elements define the constant's reference id and replacement @@ -66,16 +76,6 @@ <!ELEMENT constant-name (#PCDATA)> <!ELEMENT constant-value (#PCDATA)> - -<!-- - The "formset" element defines a set of forms for a locale. Formsets for - specific locales can override only those fields that change. The - localization is properly scoped, so that a formset can override just the - language, or just the country, or both. ---> -<!ELEMENT formset (constant*, form+)> -<!ATTLIST formset language CDATA #IMPLIED - country CDATA #IMPLIED > <!--
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>