File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes validation.xml problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validation.xml problem" Watch "validation.xml problem" New topic

validation.xml problem

veronique alvaro

Joined: Sep 05, 2003
Posts: 24
I have this part of code in my validation.xml

When I compile my project, I have an error saying : "the "bundle" attribut must be declared for the type element "field"".
However, in the struts-config.xml I already have:

So, is there anything else I should add and in which file ?
Thanks in advance
Manjunath Bhat

Joined: Oct 22, 2003
Posts: 8
remove the *bundle* attribute & run the application. It is not a attribute for field element. please refere following DTD fragment for field element
<!ELEMENT field (msg?, arg0?, arg1?, arg2?, arg3?, var* )>
<!ATTLIST field property CDATA #REQUIRED
indexedListProperty CDATA #IMPLIED >

M BHat
veronique alvaro

Joined: Sep 05, 2003
Posts: 24
ok, thanks !
I agree. Here's the link:
subject: validation.xml problem
It's not a secret anymore!