[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4467) Pages.XML fails to validate Correctly with options on begin/end conversation

Cody Lerum (JIRA) jira-events at lists.jboss.org
Mon Nov 2 18:16:05 EST 2009

Pages.XML fails to validate Correctly with options on begin/end conversation

                 Key: JBSEAM-4467
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4467
             Project: Seam
          Issue Type: Bug
    Affects Versions: 2.2.0.GA
            Reporter: Cody Lerum

I'm trying to get my pages.xml to validate and I'm running into two validation issues that I can't get past. These appear to be defined in the xsd http://www.jboss.com/products/seam/pages-2.2.xsd however they don't allow attributes to be defined such as root=true

<page view-id="/admin/org_add.xhtml">
   <description>Add Organization</description>
   <navigation from-action="#{organizationUtil.addOrg()}">
      <rule if-outcome="true">
	 <redirect view-id="/admin/org_list.xhtml" />
         <end-conversation before-redirect="true"/>	
Errors with cvc-complex-type.2.4.d: Invalid content was found starting with element 'end-conversation'. No child element is expected at this point.

<page view-id="/admin/search/search.xhtml">
   <description>Search Results</description>
   <action execute="#{search.doSearch}">
Error: cvc-complex-type.2.1: Element 'action' must have no character or element information item [children], because the type's content type is empty.

To reproduce add these to your pages.xml and validate the file in eclipse.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list