[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1096) Some errors in DTD for pages.xml

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Mar 26 17:57:00 EDT 2007

     [ http://jira.jboss.com/jira/browse/JBSEAM-1096?page=all ]

Pete Muir closed JBSEAM-1096.

> Some errors in DTD for pages.xml 
> ---------------------------------
>                 Key: JBSEAM-1096
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1096
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0.GA
>         Environment: All
>            Reporter: Arjan van Bentem
>         Assigned To: Pete Muir
>            Priority: Minor
>             Fix For: 1.2.1.GA
> It seems to me that either the DTD for pages.xml is wrong, or that the documentation does not match the DTD.
> The documentation at http://fisheye.jboss.com/browse/JBoss/jboss-seam/doc/reference/en/modules/jbpm.xml?r=1.29#l772 states
>     Alternatively we can begin work on a task using pages.xml:
>     <page>
>         <start-task />
>     </page>
> However, http://fisheye.jboss.com/browse/JBoss/jboss-seam/src/main/org/jboss/seam/pages-1.2.dtd?r=1.2#l21 defines
>     <!ELEMENT page (#PCDATA|restrict|description|param|in|begin-conversation|end-conversation|action|navigation)*>
> This does not allow <start-task> to appear within <page> .. </page>
> Furthermore it seems that the attribute list for <start-task> is wrong, as the 3rd and 4th line refer to begin-task instead of start-task
>     <!ELEMENT start-task EMPTY>
>     <!ATTLIST start-task task-id CDATA #IMPLIED>
>     <!ATTLIST begin-task pageflow CDATA #IMPLIED>
>     <!ATTLIST begin-task flush-mode (manual|auto|commit|MANUAL|AUTO|COMMIT) #IMPLIED>
> Note that for begin-task things seem fine, adn the 3rd and 4th above are probably just copied from the lines below:
>     <!ELEMENT begin-task EMPTY>
>     <!ATTLIST begin-task task-id CDATA #IMPLIED>
>     <!ATTLIST begin-task pageflow CDATA #IMPLIED>
>     <!ATTLIST begin-task flush-mode (manual|auto|commit|MANUAL|AUTO|COMMIT) #IMPLIED>
> Arjan.

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


More information about the seam-issues mailing list