svn commit: r575391 - in /ofbiz/site/dtds: entity-eca.xsd entitymodel.xsd services.xsd simple-methods.xsd site-conf.xsd test-suite.xsd widget-form.xsd widget-screen.xsd

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r575391 - in /ofbiz/site/dtds: entity-eca.xsd entitymodel.xsd services.xsd simple-methods.xsd site-conf.xsd test-suite.xsd widget-form.xsd widget-screen.xsd

jonesde
Author: jonesde
Date: Thu Sep 13 11:19:17 2007
New Revision: 575391

URL: http://svn.apache.org/viewvc?rev=575391&view=rev
Log:
Updated XSD files, been a little while

Modified:
    ofbiz/site/dtds/entity-eca.xsd
    ofbiz/site/dtds/entitymodel.xsd
    ofbiz/site/dtds/services.xsd
    ofbiz/site/dtds/simple-methods.xsd
    ofbiz/site/dtds/site-conf.xsd
    ofbiz/site/dtds/test-suite.xsd
    ofbiz/site/dtds/widget-form.xsd
    ofbiz/site/dtds/widget-screen.xsd

Modified: ofbiz/site/dtds/entity-eca.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entity-eca.xsd?rev=575391&r1=575390&r2=575391&view=diff
==============================================================================
--- ofbiz/site/dtds/entity-eca.xsd (original)
+++ ofbiz/site/dtds/entity-eca.xsd Thu Sep 13 11:19:17 2007
@@ -21,7 +21,7 @@
     <xs:element name="entity-eca">
         <xs:complexType>
             <xs:sequence>
-                <xs:element maxOccurs="unbounded" ref="eca"/>
+                <xs:element minOccurs="0" maxOccurs="unbounded" ref="eca"/>
             </xs:sequence>
         </xs:complexType>
     </xs:element>
@@ -32,7 +32,10 @@
                     <xs:element ref="condition"/>
                     <xs:element ref="condition-field"/>
                 </xs:choice>
-                <xs:element maxOccurs="unbounded" ref="action"/>
+                <xs:choice minOccurs="1" maxOccurs="unbounded">
+                    <xs:element ref="set"/>
+                    <xs:element ref="action"/>
+                </xs:choice>                
             </xs:sequence>
             <xs:attributeGroup ref="attlist.eca"/>
         </xs:complexType>
@@ -158,6 +161,32 @@
             </xs:simpleType>
         </xs:attribute>
         <xs:attribute type="xs:string" name="format"/>
+    </xs:attributeGroup>
+    <xs:element name="set">
+        <xs:complexType>
+            <xs:attributeGroup ref="attlist.set"/>
+        </xs:complexType>
+    </xs:element>
+    <xs:attributeGroup name="attlist.set">
+        <xs:attribute type="xs:string" name="field-name" use="required"/>
+        <xs:attribute type="xs:string" name="env-name"/>
+        <xs:attribute type="xs:string" name="value"/>
+        <xs:attribute name="format">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="append"/>                    
+                    <xs:enumeration value="to-upper"/>
+                    <xs:enumeration value="to-lower"/>
+                    <xs:enumeration value="hash-code"/>
+                    <xs:enumeration value="long"/>
+                    <xs:enumeration value="double"/>
+                    <xs:enumeration value="upper-first-char"/>
+                    <xs:enumeration value="lower-first-char"/>
+                    <xs:enumeration value="db-to-java"/>
+                    <xs:enumeration value="java-to-db"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="action">
         <xs:complexType>

Modified: ofbiz/site/dtds/entitymodel.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entitymodel.xsd?rev=575391&r1=575390&r2=575391&view=diff
==============================================================================
--- ofbiz/site/dtds/entitymodel.xsd (original)
+++ ofbiz/site/dtds/entitymodel.xsd Thu Sep 13 11:19:17 2007
@@ -65,6 +65,7 @@
         <xs:attribute type="xs:string" name="package-name" use="required"/>
         <xs:attribute type="xs:string" name="default-resource-name"/>
         <xs:attribute type="xs:string" name="dependent-on"/>
+        <xs:attribute type="xs:string" name="sequence-bank-size"/>
         <xs:attribute name="enable-lock" default="false">
             <xs:simpleType>
                 <xs:restriction base="xs:token">

Modified: ofbiz/site/dtds/services.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?rev=575391&r1=575390&r2=575391&view=diff
==============================================================================
--- ofbiz/site/dtds/services.xsd (original)
+++ ofbiz/site/dtds/services.xsd Thu Sep 13 11:19:17 2007
@@ -111,6 +111,15 @@
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
+        <xs:attribute name="semaphore" default="none">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="none"/>
+                    <xs:enumeration value="fail"/>
+                    <xs:enumeration value="wait"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="notification">
         <xs:complexType>
@@ -294,7 +303,9 @@
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
-        <xs:attribute type="xs:string" name="default-value"/>
+        <xs:attribute type="xs:string" name="default-value">
+            <xs:annotation><xs:documentation>The value specified will be used for the attribute if no value is passed in. This will only happen if it is okay to not pass a value in, so if this is set then optional will be set to true. If optional=false and this is set then the value will be overridden and with a value in default-value is will set optional=true anyway.</xs:documentation></xs:annotation>
+        </xs:attribute>
         <xs:attribute type="xs:string" name="form-label"/>
         <xs:attribute type="xs:string" name="entity-name"/>
         <xs:attribute type="xs:string" name="field-name"/>

Modified: ofbiz/site/dtds/simple-methods.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/simple-methods.xsd?rev=575391&r1=575390&r2=575391&view=diff
==============================================================================
--- ofbiz/site/dtds/simple-methods.xsd (original)
+++ ofbiz/site/dtds/simple-methods.xsd Thu Sep 13 11:19:17 2007
@@ -471,6 +471,15 @@
                 </xs:documentation>
             </xs:annotation>
         </xs:attribute>
+        <xs:attribute type="xs:string" name="error-list-name" default="error_list">
+            <xs:annotation>
+                <xs:documentation>
+                    The name of a list in the method environment that the error messages will be added to.
+                    Will be created if it does not exist.
+                    Defaults to "error_list".
+                </xs:documentation>
+            </xs:annotation>                                                            
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="call-service" substitutionGroup="CallOperations">
         <xs:annotation>
@@ -4843,6 +4852,7 @@
                     <xs:enumeration value="HalfDown"><xs:annotation><xs:documentation>Rounding mode to round towards "nearest neighbor" unless both neighbors are equidistant, in which case round down</xs:documentation></xs:annotation></xs:enumeration>
                     <xs:enumeration value="HalfEven"><xs:annotation><xs:documentation>Rounding mode to round towards the "nearest neighbor" unless both neighbors are equidistant, in which case, round towards the even neighbor</xs:documentation></xs:annotation></xs:enumeration>
                     <xs:enumeration value="Unnecessary"><xs:annotation><xs:documentation>Rounding mode to assert that the requested operation has an exact result, hence no rounding is necessary</xs:documentation></xs:annotation></xs:enumeration>
+                    <xs:enumeration value="${roundingMode}"><xs:annotation><xs:documentation>Convention for variable name for this attribute, in cases where it is determined at run-time.</xs:documentation></xs:annotation></xs:enumeration>
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>

Modified: ofbiz/site/dtds/site-conf.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/site-conf.xsd?rev=575391&r1=575390&r2=575391&view=diff
==============================================================================
--- ofbiz/site/dtds/site-conf.xsd (original)
+++ ofbiz/site/dtds/site-conf.xsd Thu Sep 13 11:19:17 2007
@@ -138,6 +138,22 @@
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
+        <xs:attribute name="track-visit" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
+        <xs:attribute name="track-serverhit" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="security">
         <xs:complexType>

Modified: ofbiz/site/dtds/test-suite.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/test-suite.xsd?rev=575391&r1=575390&r2=575391&view=diff
==============================================================================
--- ofbiz/site/dtds/test-suite.xsd (original)
+++ ofbiz/site/dtds/test-suite.xsd Thu Sep 13 11:19:17 2007
@@ -89,13 +89,21 @@
         <xs:attribute type="xs:string" name="name" use="required"/>
     </xs:attributeGroup>
     
-    <xs:element name="entity-xml-assert" substitutionGroup="TestCaseTypes">
+    <xs:element name="entity-xml" substitutionGroup="TestCaseTypes">
         <xs:complexType>
-            <xs:attributeGroup ref="attlist.entity-xml-assert"/>
+            <xs:attributeGroup ref="attlist.entity-xml"/>
         </xs:complexType>
     </xs:element>
-    <xs:attributeGroup name="attlist.entity-xml-assert">
+    <xs:attributeGroup name="attlist.entity-xml">
         <xs:attribute type="xs:string" name="entity-xml-url" use="required"/>
+        <xs:attribute name="action" use="optional" default="assert">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="assert"/>
+                    <xs:enumeration value="load"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     
     <xs:element name="jython-test" substitutionGroup="TestCaseTypes">

Modified: ofbiz/site/dtds/widget-form.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-form.xsd?rev=575391&r1=575390&r2=575391&view=diff
==============================================================================
--- ofbiz/site/dtds/widget-form.xsd (original)
+++ ofbiz/site/dtds/widget-form.xsd Thu Sep 13 11:19:17 2007
@@ -122,17 +122,20 @@
         <xs:attribute type="xs:string" name="override-list-size">
             <xs:annotation><xs:documentation>The total number of rows in the original list (used for pagination). If not specified, the size of the list will be used. Accepts ${} notation.</xs:documentation></xs:annotation>
         </xs:attribute>
+        <xs:attribute type="xs:string" name="paginate-first-label">
+            <xs:annotation><xs:documentation>Text to display for the [First] button in a form with pagination. Defaults to "First". Accepts ${} notation.</xs:documentation></xs:annotation>
+        </xs:attribute>
         <xs:attribute type="xs:string" name="paginate-previous-label">
             <xs:annotation><xs:documentation>Text to display for the [Previous] button in a form with pagination. Defaults to "Previous". Accepts ${} notation.</xs:documentation></xs:annotation>
         </xs:attribute>
         <xs:attribute type="xs:string" name="paginate-next-label">
             <xs:annotation><xs:documentation>Text to display for the [Next] button in a form with pagination. Defaults to "Next". Accepts ${} notation.</xs:documentation></xs:annotation>
         </xs:attribute>
-        <xs:attribute type="xs:string" name="paginate-previous-style">
-            <xs:annotation><xs:documentation>CSS style to use for the [Previous] button in a form with pagination. Defaults to "buttontext".</xs:documentation></xs:annotation>
+        <xs:attribute type="xs:string" name="paginate-last-label">
+            <xs:annotation><xs:documentation>Text to display for the [Last] button in a form with pagination. Defaults to "Last". Accepts ${} notation.</xs:documentation></xs:annotation>
         </xs:attribute>
-        <xs:attribute type="xs:string" name="paginate-next-style">
-            <xs:annotation><xs:documentation>CSS style to use for the [Next] button in a form with pagination. Defaults to "buttontext".</xs:documentation></xs:annotation>
+        <xs:attribute type="xs:string" name="paginate-style">
+            <xs:annotation><xs:documentation>CSS style to use for the whole pager in a form with pagination. Defaults to "nav-pager".</xs:documentation></xs:annotation>
         </xs:attribute>
         <xs:attribute type="xs:string" name="item-index-separator" default="_o_"/>
         <xs:attribute type="xs:string" name="extends"/>
@@ -777,6 +780,15 @@
         <xs:attribute type="xs:positiveInteger" name="cols" default="60"/>
         <xs:attribute type="xs:positiveInteger" name="rows" default="3"/>
         <xs:attribute type="xs:string" name="default-value"/>
+        <xs:attribute name="read-only" default="false">
+            <xs:annotation><xs:documentation>Makes this textarea read-only (no edits allowed)</xs:documentation></xs:annotation>
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
         <xs:attribute name="visual-editor-enable" default="false">
             <xs:annotation><xs:documentation>This will enable the html editor on this text area from www.unverse.net (more info there), only one textarea can be used on one page</xs:documentation></xs:annotation>
             <xs:simpleType>

Modified: ofbiz/site/dtds/widget-screen.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-screen.xsd?rev=575391&r1=575390&r2=575391&view=diff
==============================================================================
--- ofbiz/site/dtds/widget-screen.xsd (original)
+++ ofbiz/site/dtds/widget-screen.xsd Thu Sep 13 11:19:17 2007
@@ -36,6 +36,14 @@
     <xs:attributeGroup name="attlist.screen">
         <xs:attribute type="xs:string" name="name" use="required"/>
         <xs:attribute type="xs:string" name="transaction-timeout" use="optional"/>
+        <xs:attribute name="use-cache" default="false">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="section" substitutionGroup="AllWidgets">
         <xs:complexType>