| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Seam
Revision: 8920
Author: pete.muir@jboss.org
Date: 05 Sep 2008 07:44:10
Changes:Some fixes to the xsd from Arron Ferguson
Files:| ... | ...@@ -9,20 +9,18 @@ | |
| 9 | 9 | <xs:documentation>The root of a pages.xml file</xs:documentation> |
| 10 | 10 | </xs:annotation> |
| 11 | 11 | <xs:complexType> |
| 12 | <xs:sequence> | |
| 13 | <xs:choice minOccurs="0" maxOccurs="unbounded"> | |
| 14 | <xs:element ref="pages:conversation"/> | |
| 15 | <xs:element ref="pages:page"/> | |
| 16 | </xs:choice> | |
| 12 | <xs:choice minOccurs="0" maxOccurs="unbounded"> | |
| 13 | <xs:element ref="pages:conversation"/> | |
| 14 | <xs:element ref="pages:page"/> | |
| 17 | 15 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:exception"/> |
| 18 | </xs:sequence> | |
| 16 | </xs:choice> | |
| 19 | 17 | <xs:attributeGroup ref="pages:attlist.pages"/> |
| 20 | 18 | </xs:complexType> |
| 21 | 19 | </xs:element> |
| 22 | 20 | |
| 23 | 21 | <xs:attributeGroup name="attlist.pages"> |
| 24 | <xs:attribute name="no-conversation-view-id" /> | |
| 25 | <xs:attribute name="login-view-id" /> | |
| 22 | <xs:attribute name="no-conversation-view-id" type="pages:view-id" /> | |
| 23 | <xs:attribute name="login-view-id" type="pages:view-id"/> | |
| 26 | 24 | <xs:attribute name="http-port" /> |
| 27 | 25 | <xs:attribute name="https-port" /> |
| 28 | 26 | </xs:attributeGroup> |
| ... | ...@@ -90,7 +88,7 @@ | |
| 90 | 88 | </xs:element> |
| 91 | 89 | <xs:attributeGroup name="attlist.page"> |
| 92 | 90 | <xs:attribute name="action"/> |
| 93 | <xs:attribute name="view-id"/> | |
| 91 | <xs:attribute name="view-id" type="pages:view-id"/> | |
| 94 | 92 | <xs:attribute name="switch" default="enabled"> |
| 95 | 93 | <xs:simpleType> |
| 96 | 94 | <xs:restriction base="xs:token"> |
| ... | ...@@ -99,7 +97,7 @@ | |
| 99 | 97 | </xs:restriction> |
| 100 | 98 | </xs:simpleType> |
| 101 | 99 | </xs:attribute> |
| 102 | <xs:attribute name="no-conversation-view-id"/> | |
| 100 | <xs:attribute name="no-conversation-view-id" type="pages:view-id" /> | |
| 103 | 101 | <xs:attribute name="conversation-required" default="false"> |
| 104 | 102 | <xs:simpleType> |
| 105 | 103 | <xs:restriction base="xs:token"> |
| ... | ...@@ -503,7 +501,7 @@ | |
| 503 | 501 | </xs:complexType> |
| 504 | 502 | </xs:element> |
| 505 | 503 | <xs:attributeGroup name="attlist.render"> |
| 506 | <xs:attribute name="view-id"/> | |
| 504 | <xs:attribute name="view-id" type="pages:view-id" /> | |
| 507 | 505 | </xs:attributeGroup> |
| 508 | 506 | |
| 509 | 507 | <xs:element name="redirect"> |
| ... | ...@@ -520,7 +518,7 @@ | |
| 520 | 518 | </xs:complexType> |
| 521 | 519 | </xs:element> |
| 522 | 520 | <xs:attributeGroup name="attlist.redirect"> |
| 523 | <xs:attribute name="view-id"/> | |
| 521 | <xs:attribute name="view-id" type="pages:view-id" /> | |
| 524 | 522 | <xs:attribute name="url"/> |
| 525 | 523 | </xs:attributeGroup> |
| 526 | 524 | |
| ... | ...@@ -536,7 +534,7 @@ | |
| 536 | 534 | </xs:complexType> |
| 537 | 535 | </xs:element> |
| 538 | 536 | <xs:attributeGroup name="attlist.http-error"> |
| 539 | <xs:attribute name="error-code"/> | |
| 537 | <xs:attribute name="error-code" use="required"/> | |
| 540 | 538 | </xs:attributeGroup> |
| 541 | 539 | |
| 542 | 540 | <xs:element name="message"> |
| ... | ...@@ -565,6 +563,12 @@ | |
| 565 | 563 | </xs:attribute> |
| 566 | 564 | </xs:attributeGroup> |
| 567 | 565 | |
| 566 | <xs:simpleType name="view-id"> | |
| 567 | <xs:restriction base="xs:string"> | |
| 568 | <xs:pattern value="(/.*)|\*"/> | |
| 569 | </xs:restriction> | |
| 570 | </xs:simpleType> | |
| 571 | ||
| 568 | 572 | <xs:element name="description" type="xs:string"> |
| 569 | 573 | <xs:annotation> |
| 570 | 574 | <xs:documentation>A page description for workflow switching</xs:documentation> |