wood burning stoves 2.0*
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 Android Security Essentials Live Lessons 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 !
subject: validation.xml problem
Similar Threads
How to check if field exist in validation.xml
Validator for NOT NULL/ blanks
plz...help me urgent !!!!
custom validator and custom tags
Validation Framework is not working...?