This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validation.xml problem

 
veronique alvaro
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, thanks !
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic