For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 1 reply, 1 voice, and was last updated 19 years, 1 month ago by
Tony Herstell.
-
AuthorPosts
-
Tony HerstellParticipantWhy am I getting errors on this xml?
Severity and Description Path Resource Location Creation Time Id
The content of element type “pages” must match “(page)*”. risingstars_war/WebRoot/WEB-INF pages.xml line 5 1171503340268 6612pages, according to the DTD is not just pages but:
<!ELEMENT pages (page*,exception*)>The content of element type “redirect” must match “(param)*”. risingstars_war/WebRoot/WEB-INF pages.xml line 34 1171503340268 6610
The content of element type “redirect” must match “(param)*”. risingstars_war/WebRoot/WEB-INF pages.xml line 41 1171503340268 6611redirect allows:
<!ELEMENT redirect (message?,param*)>
<!ATTLIST redirect view-id CDATA #IMPLIED>How do I force MyEclipse to re-read the DTD?
<!DOCTYPE pages PUBLIC "-//JBoss/Seam Pages Configuration DTD 1.1//EN" "http://jboss.com/products/seam/pages-1.1.dtd"> <pages no-conversation-view-id="/mainmenu.xhtml"> <page view-id="/userCRUD.xhtml" timeout="300000"> Reason: #{cRUDUserController.mode} User ( #{user.username} ) </page> <page view-id="/userConfirm.xhtml" timeout="300000"> Reason: Confirm #{cRUDUserController.mode} User (#{user.username} ) </page> <page view-id="/userRegistration.xhtml" timeout="300000"> Reason: Registration of new User </page> <page view-id="/organisationCRUD.xhtml" timeout="300000"> Reason: #{cRUDOrganisationController.mode} Organisation ( #{organisation.name} ) </page> <page view-id="/organisationConfirm.xhtml" timeout="300000"> Reason: Confirm #{cRUDOrganisationController.mode} Organisation (#{organisation.name} ) </page> <page view-id="/upload.xhtml" timeout="300000"> Reason: Upload Image </page> <!-- Security --> <exception class="org.jboss.seam.security.NotLoggedInException"> <end-conversation /> <redirect view-id="/userRegistration.xhtml"> <message>You must be a member to use this feature</message> </redirect> </exception> <exception class="org.jboss.seam.security.AuthorizationException"> <end-conversation /> <redirect view-id="/securityError.xhtml"> <message>You do not have permission to do this</message> </redirect> </exception> <page view-id="/userRegistration.xhtml"> <restrict>#{!identity.loggedIn}</restrict> </page> <page view-id="/userFind.xhtml"> <restrict>#{identity.loggedIn}</restrict> </page> <page view-id="/userCRUD.xhtml"> <restrict>#{identity.loggedIn}</restrict> </page> <page view-id="/userConfirm.xhtml"> <restrict>#{identity.loggedIn}</restrict> </page> <page view-id="/organisationFind.xhtml"> <restrict>#{identity.loggedIn}</restrict> </page> <page view-id="/organisationCRUD.xhtml"> <restrict>#{identity.loggedIn}</restrict> </page> <page view-id="/organisationConfirm.xhtml"> <restrict>#{identity.loggedIn}</restrict> </page> <page view-id="/upload.xhtml"> <restrict>#{identity.loggedIn}</restrict> </page> <page view-id="/template.xhtml"> <restrict /> </page> <page view-id="/conversations.xhtml"> <restrict /> </page> <page view-id="/organisationFieldsEditable.xhtml"> <restrict /> </page> <page view-id="/organisationFieldsNonEditable.xhtml"> <restrict /> </page> <page view-id="/organisationsSortablePagedDataTable.xhtml"> <restrict /> </page> <page view-id="/userFieldsEditable.xhtml"> <restrict /> </page> <page view-id="/userFieldsNonEditable.xhtml"> <restrict /> </page> <page view-id="/usersSortablePagedDataTable.xhtml"> <restrict /> </page> </pages>February 17, 2007 at 3:11 pm #266263
Tony HerstellParticipantIgnore this..
I dont know how I do it but finally I get MyEclipse to refresh its cache of DTD’s. -
AuthorPosts
