File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validation.xml problem" Watch "validation.xml problem" New topic
Author

validation.xml problem

veronique alvaro
Greenhorn

Joined: Sep 05, 2003
Posts: 24
Hi
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
Greenhorn

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
depends CDATA #IMPLIED
page CDATA #IMPLIED
indexedListProperty CDATA #IMPLIED >

HTH
M BHat
veronique alvaro
Greenhorn

Joined: Sep 05, 2003
Posts: 24
ok, thanks !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validation.xml problem
 
Similar Threads
Validator for NOT NULL/ blanks
How to check if field exist in validation.xml
plz...help me urgent !!!!
Validation Framework is not working...?
custom validator and custom tags