Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1133

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1133
    Summary: Invalid validation.xml if only merge files used
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Apache Module
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Chris Searle

    Created: Tue, 2 Nov 2004 9:41 AM
    Updated: Tue, 2 Nov 2004 9:41 AM
Environment: using the validator classes packaged with struts 1.2.4

Description:
We only use dynaforms configured with merge points - so using the merge point 
validation-globals.xml too.

This (correctly) inserts into validation.xml - but there is an empty <formset> tag at 
the end of the file (since there are no forms for the <XDtValidator:forAllForms> loop:

         <field property="email" depends="required,email" >
           <arg0 key="email.displayname" />
         </field>
      </form>
</formset>
  <formset>
  </formset>
</form-validation>

>From the DTD

<!ELEMENT formset (constant*, form+)>

So - a formset can't be empty.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to