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
Priority: Minor
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...
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/...
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