[jboss-svn-commits] JBL Code SVN: r5578 - labs/jbosslabs/trunk/portal-extensions/forge-common/src/web

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Aug 7 18:31:42 EDT 2006


Author: unibrew
Date: 2006-08-07 18:31:41 -0400 (Mon, 07 Aug 2006)
New Revision: 5578

Modified:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd
Log:
[JBLAB-679] Another update of XMLSchema for project.xml - file organization and comments.

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd	2006-08-07 22:19:09 UTC (rev 5577)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/project.xsd	2006-08-07 22:31:41 UTC (rev 5578)
@@ -29,6 +29,11 @@
            elementFormDefault="qualified"
            jxb:version="2.0" >
 
+
+<!--                                             -->
+<!--                   PROJECT                   -->
+<!--                                             -->
+
 <xs:element name="project" >
     <xs:annotation>
         <xs:appinfo>
@@ -60,35 +65,11 @@
     </xs:complexType>
 </xs:element>
 
-<xs:complexType name="downloads" >
-    <xs:annotation>
-        <xs:appinfo>
-            <jxb:class>
-                <jxb:javadoc>
-        Class for keeping information about project's downloads.
-        Generated using JAXB
-        DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
-        @author Ryszard Kozmik
-                </jxb:javadoc>
-            </jxb:class>
-        </xs:appinfo>
-    </xs:annotation>
-    <xs:all>
-        <xs:element name="categories" minOccurs="0" maxOccurs="1" type="categories" />
-        <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
-        <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string" />
-        <xs:element name="counters" minOccurs="0" maxOccurs="1" >
-            <xs:complexType>
-                <xs:all>
-                    <xs:element name="sorting" minOccurs="0" maxOccurs="1" type="sorting" />
-                    <xs:element name="visible" minOccurs="0" maxOccurs="1" type="xs:boolean" />
-                </xs:all>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="files" minOccurs="0" maxOccurs="1" type="files" />
-    </xs:all>
-</xs:complexType>
 
+<!--                                             -->
+<!--        REPOSITORY AND TASKTRACKERS          -->
+<!--                                             -->
+
 <xs:complexType name="repository" >
     <xs:annotation>
         <xs:appinfo>
@@ -183,6 +164,11 @@
     </xs:simpleContent>
 </xs:complexType>
 
+
+<!--                                             -->
+<!--              NAVIGATION MENU                -->
+<!--                                             -->
+
 <xs:complexType name="menu" >
     <xs:annotation>
         <xs:appinfo>
@@ -263,6 +249,11 @@
     </xs:restriction>
 </xs:simpleType>
 
+
+<!--                                             -->
+<!--                    POLLS                    -->
+<!--                                             -->
+
 <xs:complexType name="polls" >
     <xs:annotation>
         <xs:appinfo>
@@ -300,6 +291,40 @@
     </xs:all>
 </xs:complexType>
 
+
+<!--                                             -->
+<!--                  DOWNLOADS                  -->
+<!--                                             -->
+
+<xs:complexType name="downloads" >
+    <xs:annotation>
+        <xs:appinfo>
+            <jxb:class>
+                <jxb:javadoc>
+        Class for keeping information about project's downloads.
+        Generated using JAXB
+        DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
+        @author Ryszard Kozmik
+                </jxb:javadoc>
+            </jxb:class>
+        </xs:appinfo>
+    </xs:annotation>
+    <xs:all>
+        <xs:element name="categories" minOccurs="0" maxOccurs="1" type="categories" />
+        <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
+        <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string" />
+        <xs:element name="counters" minOccurs="0" maxOccurs="1" >
+            <xs:complexType>
+                <xs:all>
+                    <xs:element name="sorting" minOccurs="0" maxOccurs="1" type="sorting" />
+                    <xs:element name="visible" minOccurs="0" maxOccurs="1" type="xs:boolean" />
+                </xs:all>
+            </xs:complexType>
+        </xs:element>
+        <xs:element name="files" minOccurs="0" maxOccurs="1" type="files" />
+    </xs:all>
+</xs:complexType>
+
 <xs:complexType name="files" >
     <xs:annotation>
         <xs:appinfo>
@@ -354,28 +379,11 @@
     <xs:attribute name="sorting" type="sorting" default="random" />
 </xs:complexType>
 
-<xs:simpleType name="sorting" >
-    <xs:annotation>
-        <xs:appinfo>
-            <jxb:typesafeEnumClass>
-                <jxb:javadoc>
-        Enum describing types of possbile sorting orders for downloads showing purposes.
-        Generated using JAXB
-        DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
-        @author Ryszard Kozmik
-                </jxb:javadoc>
-            </jxb:typesafeEnumClass>
-        </xs:appinfo>
-    </xs:annotation>
-    <xs:restriction base="xs:string">
-        <xs:enumeration value="asc"/>
-        <xs:enumeration value="desc"/>
-        <xs:enumeration value="random"/>
-        <xs:enumeration value="ascending"/>
-        <xs:enumeration value="descending"/>
-    </xs:restriction>
-</xs:simpleType>
 
+<!--                                             -->
+<!--           DOWNLOAD CATEGORIES               -->
+<!--                                             -->
+
 <xs:complexType name="categories" >
     <xs:annotation>
         <xs:appinfo>
@@ -422,4 +430,32 @@
     </xs:all>
 </xs:complexType>
 
+
+<!--                                             -->
+<!--       DOWNLOAD COUNTERS SORTING             -->
+<!--                                             -->
+
+<xs:simpleType name="sorting" >
+    <xs:annotation>
+        <xs:appinfo>
+            <jxb:typesafeEnumClass>
+                <jxb:javadoc>
+        Enum describing types of possbile sorting orders for downloads showing purposes.
+        Generated using JAXB
+        DO NOT MODIFY UNLESS YOU REALLY KNOW WHAT ARE YOU DOING.
+        @author Ryszard Kozmik
+                </jxb:javadoc>
+            </jxb:typesafeEnumClass>
+        </xs:appinfo>
+    </xs:annotation>
+    <xs:restriction base="xs:string">
+        <xs:enumeration value="asc"/>
+        <xs:enumeration value="desc"/>
+        <xs:enumeration value="random"/>
+        <xs:enumeration value="ascending"/>
+        <xs:enumeration value="descending"/>
+    </xs:restriction>
+</xs:simpleType>
+
+
 </xs:schema>




More information about the jboss-svn-commits mailing list