portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject svn commit: r503321 - /portals/jetspeed-2/trunk/etc/xsd/psml.xsd
Date Sat, 03 Feb 2007 22:06:42 GMT
Author: jford
Date: Sat Feb  3 14:06:41 2007
New Revision: 503321

URL: http://svn.apache.org/viewvc?view=rev&rev=503321
Log:
Added missing elements

Modified:
    portals/jetspeed-2/trunk/etc/xsd/psml.xsd

Modified: portals/jetspeed-2/trunk/etc/xsd/psml.xsd
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/etc/xsd/psml.xsd?view=diff&rev=503321&r1=503320&r2=503321
==============================================================================
--- portals/jetspeed-2/trunk/etc/xsd/psml.xsd (original)
+++ portals/jetspeed-2/trunk/etc/xsd/psml.xsd Sat Feb  3 14:06:41 2007
@@ -21,20 +21,22 @@
   <xs:element name="page">
     <xs:complexType>
       <xs:sequence>
-        <xs:element ref="tns:defaults"/>
+        <xs:element minOccurs="0" ref="tns:defaults"/>
         <xs:element ref="tns:title"/>
-        <xs:element ref="tns:fragment"/>
         <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:metadata"/>
-        <xs:element ref="tns:security-constraints"/>
+        <xs:element ref="tns:fragment"/>
+        <xs:element minOccurs="0" ref="tns:security-constraints"/>
       </xs:sequence>
       <xs:attribute name="id" use="required" type="xs:ID"/>
+      <xs:attribute name="hidden" use="optional" type="xs:boolean"/>
+      <xs:attribute name="version" use="optional" type="xs:double"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="defaults">
     <xs:complexType>
       <xs:attribute name="layout-decorator" use="required" type="xs:string"/>
       <xs:attribute name="portlet-decorator" use="required" type="xs:string"/>
-      <xs:attribute name="skin" use="required" type="xs:string"/>
+      <xs:attribute name="skin" use="optional" type="xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="title" type="xs:string"/>
@@ -44,9 +46,11 @@
       <xs:attribute ref="xml:lang" use="required"/>
     </xs:complexType>
   </xs:element>
+  <xs:element name="owner" type="xs:string"/>
   <xs:element name="security-constraints">
     <xs:complexType>
       <xs:sequence>
+        <xs:element ref="tns:owner"/>
         <xs:element ref="tns:security-constraints-ref"/>
       </xs:sequence>
     </xs:complexType>
@@ -54,13 +58,15 @@
   <xs:element name="security-constraints-ref" type="xs:string"/>
   <xs:element name="fragment">
     <xs:complexType>
-      <xs:sequence minOccurs="0">
-        <xs:element minOccurs="0" ref="tns:fragment" />
+      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:property"/>
+        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:fragment" />
+        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:preference"/>
       </xs:sequence>
       <xs:attribute name="id" use="required" type="xs:ID"/>
       <xs:attribute name="name" use="required" type="xs:string"/>
       <xs:attribute name="type" use="required" type="xs:string"/>
+      <xs:attribute name="decorator" use="optional" type="xs:string"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="property">
@@ -68,6 +74,15 @@
       <xs:attribute name="layout" use="required" type="xs:string"/>
       <xs:attribute name="name" use="required" type="xs:string"/>
       <xs:attribute name="value" use="required" type="xs:string"/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="value" type="xs:string"/>
+  <xs:element name="preference">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element ref="tns:value"/>
+      </xs:sequence>
+      <xs:attribute name="name" type="xs:string"/>
     </xs:complexType>
   </xs:element>
 </xs:schema>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message