svn commit: r422556 - in /incubator/ofbiz/site/dtds: component-loader.xsd copydtds.sh entity-eca.xsd jcl.dtd jndi-config.xsd ofbiz-component.xsd ofbiz-containers.xsd simple-methods.xsd widget-tree.xsd xpdl.dtd

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

svn commit: r422556 - in /incubator/ofbiz/site/dtds: component-loader.xsd copydtds.sh entity-eca.xsd jcl.dtd jndi-config.xsd ofbiz-component.xsd ofbiz-containers.xsd simple-methods.xsd widget-tree.xsd xpdl.dtd

jonesde
Author: jonesde
Date: Sun Jul 16 15:28:12 2006
New Revision: 422556

URL: http://svn.apache.org/viewvc?rev=422556&view=rev
Log:
Updated dtds/xsds; also removed the copydtds.sh file as there is a good target working fine now for this in the main build file

Added:
    incubator/ofbiz/site/dtds/jcl.dtd
    incubator/ofbiz/site/dtds/xpdl.dtd
Removed:
    incubator/ofbiz/site/dtds/copydtds.sh
Modified:
    incubator/ofbiz/site/dtds/component-loader.xsd
    incubator/ofbiz/site/dtds/entity-eca.xsd
    incubator/ofbiz/site/dtds/jndi-config.xsd
    incubator/ofbiz/site/dtds/ofbiz-component.xsd
    incubator/ofbiz/site/dtds/ofbiz-containers.xsd
    incubator/ofbiz/site/dtds/simple-methods.xsd
    incubator/ofbiz/site/dtds/widget-tree.xsd

Modified: incubator/ofbiz/site/dtds/component-loader.xsd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/component-loader.xsd?rev=422556&r1=422555&r2=422556&view=diff
==============================================================================
--- incubator/ofbiz/site/dtds/component-loader.xsd (original)
+++ incubator/ofbiz/site/dtds/component-loader.xsd Sun Jul 16 15:28:12 2006
@@ -1,25 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
-    *  Copyright (c) 2003-2004 The Open For Business Project - www.ofbiz.org
-    *
-    *  Permission is hereby granted, free of charge, to any person obtaining a
-    *  copy of this software and associated documentation files (the "Software"),
-    *  to deal in the Software without restriction, including without limitation
-    *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
-    *  and/or sell copies of the Software, and to permit persons to whom the
-    *  Software is furnished to do so, subject to the following conditions:
-    *
-    *  The above copyright notice and this permission notice shall be included
-    *  in all copies or substantial portions of the Software.
-    *
-    *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-    *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-    *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-    *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-    *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
-    *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
-    *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-    *  $Id: component-loader.xsd 5462 2005-08-05 18:35:48Z jonesde $
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
 -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
     <xs:element name="component-loader">

Modified: incubator/ofbiz/site/dtds/entity-eca.xsd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/entity-eca.xsd?rev=422556&r1=422555&r2=422556&view=diff
==============================================================================
--- incubator/ofbiz/site/dtds/entity-eca.xsd (original)
+++ incubator/ofbiz/site/dtds/entity-eca.xsd Sun Jul 16 15:28:12 2006
@@ -212,7 +212,7 @@
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
-        <xs:attribute type="xs:string" name="run-as-user" default="admin"/>
+        <xs:attribute type="xs:string" name="run-as-user" default="system"/>
         <xs:attribute type="xs:string" name="value-attr"/>
     </xs:attributeGroup>
 </xs:schema>

Added: incubator/ofbiz/site/dtds/jcl.dtd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/jcl.dtd?rev=422556&view=auto
==============================================================================
--- incubator/ofbiz/site/dtds/jcl.dtd (added)
+++ incubator/ofbiz/site/dtds/jcl.dtd Sun Jul 16 15:28:12 2006
@@ -0,0 +1,62 @@
+<?xml encoding="UTF-8"?>
+
+<!-- Revision: 1 2.0.0 http://www.nrf-arts.com/JavaPOS/JCL/jcl.dtd, docs, xml4j2, xml4j2_0_13  -->
+
+<!--
+     This is the DTD for all JCL (JavaPOS Config/Loader) entries.  It defines
+     the content necessary for all JCL entries in their XML file.  Please see the
+     example XML files in the release as well as the JCL documentation for details
+     on how to create your own XML files that are valid for this DTD.  You may also
+     use the JCL editor to create these files, as long as the JCL instalation is
+     setup for XML (instead of serialized or CFG).
+     @author E. Michael Maximilien ([hidden email])
+     @since 1.2
+-->
+    
+<!ELEMENT JposEntries (JposEntry)*>
+
+<!ELEMENT JposEntry (creation, vendor, jpos, product, prop+)>
+<!ATTLIST JposEntry logicalName CDATA #REQUIRED>
+
+<!ELEMENT creation (#PCDATA)>
+<!ELEMENT vendor (#PCDATA)>
+<!ELEMENT jpos (#PCDATA)>
+<!ELEMENT product (#PCDATA)>
+<!ELEMENT prop (#PCDATA)>
+
+<!ATTLIST creation
+          factoryClass CDATA #REQUIRED
+          serviceClass CDATA #REQUIRED>
+          
+<!ATTLIST vendor
+          name CDATA #REQUIRED
+          url CDATA #IMPLIED>
+          
+<!ATTLIST jpos
+          version CDATA #REQUIRED
+          category ( BumpBar | CashChanger | CashDrawer | CoinDispenser | FiscalPrinter |
+                     HardTotals | Keylock | RemoteOrderDisplay | Scale | Scanner | SignatureCapture |
+                     ToneIndicator | LineDisplay | MICR | MSR | PinPad | POSKeyboard |
+                     POSPrinter ) #REQUIRED>
+                    
+<!ATTLIST product
+          name CDATA #REQUIRED
+          description CDATA #REQUIRED
+          url CDATA #IMPLIED>
+          
+<!-- NOTE on the type attribute.  
+     This was added after the first release and therefore to maintain
+     compatibility, it is defined as #IMPLIED so that it does not need
+     to be specified and the default type for attributes with no type
+     is String.  for instance:
+               <prop name="propName" value="1234"/>
+     is of type String and the "1234" value is kept as a String in the
+     JposEntry.  If you want the "1234" to be converted to an integer
+     for instance then you must use the type attribute as follow:
+               <prop name="propName" value="1234" type="Integer"/>
+-->
+<!ATTLIST prop
+          name CDATA #REQUIRED
+          value CDATA #REQUIRED
+          type ( String | Boolean | Byte | Character | Double | Float |
+                 Integer | Long | Short ) #IMPLIED>

Modified: incubator/ofbiz/site/dtds/jndi-config.xsd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/jndi-config.xsd?rev=422556&r1=422555&r2=422556&view=diff
==============================================================================
--- incubator/ofbiz/site/dtds/jndi-config.xsd (original)
+++ incubator/ofbiz/site/dtds/jndi-config.xsd Sun Jul 16 15:28:12 2006
@@ -1,26 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-    *  Copyright (c) 2002-2004 The Open For Business Project - www.ofbiz.org
-    *
-    *  Permission is hereby granted, free of charge, to any person obtaining a
-    *  copy of this software and associated documentation files (the "Software"),
-    *  to deal in the Software without restriction, including without limitation
-    *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
-    *  and/or sell copies of the Software, and to permit persons to whom the
-    *  Software is furnished to do so, subject to the following conditions:
-    *
-    *  The above copyright notice and this permission notice shall be included
-    *  in all copies or substantial portions of the Software.
-    *
-    *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-    *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-    *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-    *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-    *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
-    *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
-    *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-    
-    *This is the DTD for the Open For Business JNDI configuration XML file.
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
 -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
     <xs:element name="jndi-config">

Modified: incubator/ofbiz/site/dtds/ofbiz-component.xsd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/ofbiz-component.xsd?rev=422556&r1=422555&r2=422556&view=diff
==============================================================================
--- incubator/ofbiz/site/dtds/ofbiz-component.xsd (original)
+++ incubator/ofbiz/site/dtds/ofbiz-component.xsd Sun Jul 16 15:28:12 2006
@@ -1,25 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
-    *  Copyright (c) 2003-2004 The Open For Business Project - www.ofbiz.org
-    *
-    *  Permission is hereby granted, free of charge, to any person obtaining a
-    *  copy of this software and associated documentation files (the "Software"),
-    *  to deal in the Software without restriction, including without limitation
-    *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
-    *  and/or sell copies of the Software, and to permit persons to whom the
-    *  Software is furnished to do so, subject to the following conditions:
-    *
-    *  The above copyright notice and this permission notice shall be included
-    *  in all copies or substantial portions of the Software.
-    *
-    *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-    *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-    *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-    *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-    *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
-    *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
-    *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-    *  $Id: ofbiz-component.xsd 7551 2006-05-10 00:08:10Z jonesde $
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
 -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
     <xs:element name="ofbiz-component">

Modified: incubator/ofbiz/site/dtds/ofbiz-containers.xsd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/ofbiz-containers.xsd?rev=422556&r1=422555&r2=422556&view=diff
==============================================================================
--- incubator/ofbiz/site/dtds/ofbiz-containers.xsd (original)
+++ incubator/ofbiz/site/dtds/ofbiz-containers.xsd Sun Jul 16 15:28:12 2006
@@ -1,27 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
-    *  Copyright (c) 2003-2004 The Open For Business Project - www.ofbiz.org
-    *
-    *  Permission is hereby granted, free of charge, to any person obtaining a
-    *  copy of this software and associated documentation files (the "Software"),
-    *  to deal in the Software without restriction, including without limitation
-    *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
-    *  and/or sell copies of the Software, and to permit persons to whom the
-    *  Software is furnished to do so, subject to the following conditions:
-    *
-    *  The above copyright notice and this permission notice shall be included
-    *  in all copies or substantial portions of the Software.
-    *
-    *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-    *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-    *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-    *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-    *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
-    *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
-    *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-    
-    *  Dynamic OFBiz Containers Definition DTD
-    *  $Id: ofbiz-containers.xsd 5462 2005-08-05 18:35:48Z jonesde $
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
 -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
     <xs:element name="ofbiz-containers">

Modified: incubator/ofbiz/site/dtds/simple-methods.xsd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/simple-methods.xsd?rev=422556&r1=422555&r2=422556&view=diff
==============================================================================
--- incubator/ofbiz/site/dtds/simple-methods.xsd (original)
+++ incubator/ofbiz/site/dtds/simple-methods.xsd Sun Jul 16 15:28:12 2006
@@ -1825,6 +1825,13 @@
         </xs:complexType>
     </xs:element>
     <xs:element name="simple-map-processor">
+        <xs:annotation>
+            <xs:documentation>
+            The Simple Map Processor Mini-Language performes two primary tasks: validation and conversion.
+            It does this in a context of moving values from one Map to another.
+            The input map will commonly contain Strings, but can contain other object types like Integer, Long, Float, Double, java.sql.Date, Time, and Timestamp.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:sequence>
                 <xs:element minOccurs="0" maxOccurs="unbounded" ref="make-in-string"/>
@@ -1838,6 +1845,14 @@
     </xs:attributeGroup>
     <!-- Make In String & Operations -->
     <xs:element name="make-in-string">
+        <xs:annotation>
+            <xs:documentation>
+                In addition to dealing with the fields already in the incoming Map you can build Strings and add them to the in-Map before the processing begins with the make-in-string tag.
+                You can have zero or many make-in-string tags, and they must all come before the process tags.
+                Inside each make-in-string is a list of snippets to concatenate together to make the final String.
+                Each snippet can be another field in the in-Map (in-field element), a value from a properties file (property element), or a constant (constant element).
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:choice minOccurs="0" maxOccurs="unbounded">
                 <xs:element ref="in-field"/>
@@ -1870,6 +1885,25 @@
     <xs:element name="constant" type="xs:string"/>
     <!-- Field Process & Operations -->
     <xs:element name="process">
+        <xs:annotation>
+            <xs:documentation>
+                The process tag is used to contain the operations to be done on the specified field in the in-Map.
+                It has one required attribute, the field to operate on.
+                The operations that it contains are: validate-method, compare, compare-field, regexp, not-empty, copy, and convert.
+                
+                All process operations tags except copy must contain one of two tags: fail-message or fail-property.
+                If the operation fails a message is added to the message list that is either the specified fail-message, or the String from the properties file value that is specified in fail-property.
+                
+                Messages are collected in List as the Simple Map Processor runs.
+                If the List is not empty when it completes then something failed in the map processor.
+                This is done so that all failures will be reported immediately rather than having to fix one failure before another can be discovered.
+                
+                All process operations automatically convert the field value and other values from their current type to the type specified for the operation, where applicable.
+                The ObjectType.simpleTypeConvert method is used to do the conversion.
+                It supports the following types: String, Double, Float, Long, Integer, Date, Time, and Timestamp.
+                If the type is not specified String is the default.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:choice minOccurs="0" maxOccurs="unbounded">
                 <xs:element ref="validate-method"/>
@@ -1887,7 +1921,14 @@
         <xs:attribute type="xs:string" name="field" use="required"/>
     </xs:attributeGroup>
     <xs:element name="validate-method">
-        <xs:annotation><xs:documentation>validate-method calls a static Java method that takes a String and returns a boolean</xs:documentation></xs:annotation>
+        <xs:annotation>
+            <xs:documentation>
+                The validate-method tag is used to call any static method that accepts a String and returns a boolean.
+                If the field coming in is not a String it will be converted to a String before calling the method.
+                The two attributes for this tag are class and method which should contain the fully qualified class name and the method name, respectively.
+                If the class name is not specified it will default to org.ofbiz.base.util.UtilValidate.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:choice>
                 <xs:element ref="fail-message"/>
@@ -1901,6 +1942,13 @@
         <xs:attribute type="xs:string" name="class" default="org.ofbiz.base.util.UtilValidate"/>
     </xs:attributeGroup>
     <xs:element name="compare">
+        <xs:annotation>
+            <xs:documentation>
+                The compare tag is used to compare the field value to the value specified in the value attribute.
+                An operator must be specified to indicate the comparison desired.
+                Operators available include less, greater, less-equals, greater-equals, equals, not-equals, and contains.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:choice>
                 <xs:element ref="fail-message"/>
@@ -1916,6 +1964,11 @@
         <xs:attribute type="xs:string" name="format"/>
     </xs:attributeGroup>
     <xs:element name="compare-field">
+        <xs:annotation>
+            <xs:documentation>
+                The compare-field tag is just like the compare tag except that instead of specifying a value you specify the name of another field in the in-Map to compare the current field to.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:choice>
                 <xs:element ref="fail-message"/>
@@ -1931,6 +1984,12 @@
         <xs:attribute type="xs:string" name="format"/>
     </xs:attributeGroup>
     <xs:element name="regexp">
+        <xs:annotation>
+            <xs:documentation>
+                The regexp tag validate the current field against the regular expression specified in the expr attribute of the tag.
+                Standard Perl style regular expressions are used with the ORO library from Jakarta.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:choice>
                 <xs:element ref="fail-message"/>
@@ -1943,6 +2002,13 @@
         <xs:attribute type="xs:string" name="expr" use="required"/>
     </xs:attributeGroup>
     <xs:element name="not-empty">
+        <xs:annotation>
+            <xs:documentation>
+                The not-empty tag verifies that the current field is not empty.
+                If the field is a String it must not be null and must have a length greater than zero, otherwise it must simply not be null.
+                The not-empty tag has no attributes.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:choice>
                 <xs:element ref="fail-message"/>
@@ -1951,14 +2017,27 @@
         </xs:complexType>
     </xs:element>
     <xs:element name="copy">
-        <xs:annotation><xs:documentation>Copy operation: if no to-field is specified, it is the same as the field on process</xs:documentation></xs:annotation>
+        <xs:annotation>
+            <xs:documentation>
+                The copy operation simply copies the current field value to the out-Map from the in-Map.
+                There are three optional attributes.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:attributeGroup ref="attlist.copy"/>
         </xs:complexType>
     </xs:element>
     <xs:attributeGroup name="attlist.copy">
-        <xs:attribute type="xs:string" name="to-field"/>
+        <xs:attribute type="xs:string" name="to-field">
+            <xs:annotation><xs:documentation>If a different field name is desired in the out-Map it can be specified in the to-field attribute.</xs:documentation></xs:annotation>
+        </xs:attribute>
         <xs:attribute name="replace" default="true">
+            <xs:annotation>
+                <xs:documentation>
+                    The replace attribute can be used to specify if an existing field in the out-Map should be replaced or not.
+                    The replace attribute defaults to true.
+                </xs:documentation>
+            </xs:annotation>
             <xs:simpleType>
                 <xs:restriction base="xs:token">
                     <xs:enumeration value="true"/>
@@ -1967,6 +2046,12 @@
             </xs:simpleType>
         </xs:attribute>
         <xs:attribute name="set-if-null" default="true">
+            <xs:annotation>
+                <xs:documentation>
+                    The set-if-null attribute specifies whether or not the value should be put in the out-Map if it is null.
+                    The default for set-if-null is false.
+                </xs:documentation>
+            </xs:annotation>
             <xs:simpleType>
                 <xs:restriction base="xs:token">
                     <xs:enumeration value="true"/>
@@ -1976,7 +2061,13 @@
         </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="convert">
-        <xs:annotation><xs:documentation>Convert operation: if no to-field is specified, it is the same as the field on process</xs:documentation></xs:annotation>
+        <xs:annotation>
+            <xs:documentation>
+                The convert tag does the same thing as copy except that the type can be converted to the type specified in the type attribute.
+                The format attribute can be used to specify the format for date/time fields.
+                These two tags are in addition to all of the the attributes in the copy tag.
+            </xs:documentation>
+        </xs:annotation>
         <xs:complexType>
             <xs:choice>
                 <xs:element ref="fail-message"/>
@@ -1986,7 +2077,9 @@
         </xs:complexType>
     </xs:element>
     <xs:attributeGroup name="attlist.convert">
-        <xs:attribute type="xs:string" name="to-field"/>
+        <xs:attribute type="xs:string" name="to-field">
+            <xs:annotation><xs:documentation>If no to-field is specified, it is the same as the field on process.</xs:documentation></xs:annotation>
+        </xs:attribute>
         <xs:attribute name="type" use="required">
             <xs:simpleType>
                 <xs:restriction base="xs:token">

Modified: incubator/ofbiz/site/dtds/widget-tree.xsd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/widget-tree.xsd?rev=422556&r1=422555&r2=422556&view=diff
==============================================================================
--- incubator/ofbiz/site/dtds/widget-tree.xsd (original)
+++ incubator/ofbiz/site/dtds/widget-tree.xsd Sun Jul 16 15:28:12 2006
@@ -50,7 +50,7 @@
         <xs:attribute type="xs:string" name="trail-name"/>
         <xs:attribute type="xs:string" name="open-depth" default="0"/>
         <xs:attribute type="xs:string" name="post-trail-open-depth" default="0"/>
-        <xs:attribute type="xs:string" name="entity-name" default="Content"/>
+        <xs:attribute type="xs:string" name="entity-name"/>
         <xs:attribute name="force-child-check" default="true">
             <xs:simpleType>
                 <xs:restriction base="xs:token">

Added: incubator/ofbiz/site/dtds/xpdl.dtd
URL: http://svn.apache.org/viewvc/incubator/ofbiz/site/dtds/xpdl.dtd?rev=422556&view=auto
==============================================================================
--- incubator/ofbiz/site/dtds/xpdl.dtd (added)
+++ incubator/ofbiz/site/dtds/xpdl.dtd Sun Jul 16 15:28:12 2006
@@ -0,0 +1,206 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<!ENTITY % ComplexType "RecordType
+ | UnionType
+ | EnumerationType
+ | ArrayType
+ | ListType">
+<!ENTITY % Type "%ComplexType;
+ | BasicType
+ | PlainType
+ | DeclaredType">
+<!ENTITY % Mode "Automatic
+ | Manual">
+<!ELEMENT Package (PackageHeader, RedefinableHeader?, ConformanceClass?, ExternalPackages?, TypeDeclarations?, Participants?, Applications?, DataFields?, WorkflowProcesses?, ExtendedAttributes?)>
+<!ATTLIST Package
+ xmlns:xpdl CDATA #FIXED "http://www.wfmc.org/standards/docs/xpdl"
+ Id NMTOKEN #REQUIRED
+ Name CDATA #IMPLIED
+>
+<!ELEMENT PackageHeader (XPDLVersion, Vendor, Created, Description?, Documentation?, PriorityUnit?, CostUnit?)>
+<!ELEMENT ExternalPackages (ExternalPackage*)>
+<!ELEMENT TypeDeclarations (TypeDeclaration*)>
+<!ELEMENT Participants (Participant*)>
+<!ELEMENT Applications (Application*)>
+<!ELEMENT DataFields (DataField*)>
+<!ELEMENT WorkflowProcesses (WorkflowProcess*)>
+<!ELEMENT ExtendedAttributes (ExtendedAttribute*)>
+<!ELEMENT Responsibles (Responsible*)>
+<!ELEMENT FormalParameters (FormalParameter*)>
+<!ELEMENT Activities (Activity*)>
+<!ELEMENT Transitions (Transition*)>
+<!ELEMENT TransitionRestrictions (TransitionRestriction*)>
+<!ELEMENT ActualParameters (ActualParameter*)>
+<!ELEMENT TransitionRefs (TransitionRef*)>
+<!ELEMENT Participant (ParticipantType, Description?, ExtendedAttributes?)>
+<!ATTLIST Participant
+ Id NMTOKEN #REQUIRED
+ Name CDATA #IMPLIED
+>
+<!ELEMENT ParticipantType EMPTY>
+<!ATTLIST ParticipantType
+ Type (RESOURCE_SET | RESOURCE | ROLE | ORGANIZATIONAL_UNIT | HUMAN | SYSTEM) #REQUIRED
+>
+<!ELEMENT XPDLVersion (#PCDATA)>
+<!ELEMENT Vendor (#PCDATA)>
+<!ELEMENT Created (#PCDATA)>
+<!ELEMENT Description (#PCDATA)>
+<!ELEMENT Documentation (#PCDATA)>
+<!ELEMENT PriorityUnit (#PCDATA)>
+<!ELEMENT CostUnit (#PCDATA)>
+<!ELEMENT ExtendedAttribute ANY>
+<!ATTLIST ExtendedAttribute
+ Name NMTOKEN #REQUIRED
+ Value CDATA #IMPLIED
+>
+<!ELEMENT RedefinableHeader (Author?, Version?, Codepage?, Countrykey?, Responsibles?)>
+<!ATTLIST RedefinableHeader
+ PublicationStatus (UNDER_REVISION | RELEASED | UNDER_TEST) #IMPLIED
+>
+<!ELEMENT Author (#PCDATA)>
+<!ELEMENT Version (#PCDATA)>
+<!ELEMENT Codepage (#PCDATA)>
+<!ELEMENT Countrykey (#PCDATA)>
+<!ELEMENT Responsible (#PCDATA)>
+<!ELEMENT ConformanceClass EMPTY>
+<!ATTLIST ConformanceClass
+ GraphConformance (FULL_BLOCKED | LOOP_BLOCKED | NON_BLOCKED) #IMPLIED
+>
+<!ELEMENT ExternalPackage (ExtendedAttributes?)>
+<!ATTLIST ExternalPackage
+ href CDATA #IMPLIED
+>
+<!ELEMENT TypeDeclaration ((%Type;), Description?, ExtendedAttributes?)>
+<!ATTLIST TypeDeclaration
+ Id NMTOKEN #REQUIRED
+ Name CDATA #IMPLIED
+>
+<!ELEMENT PlainType EMPTY>
+<!ATTLIST PlainType
+ Type (BOOLEAN | UNIT | PERFORMER) #REQUIRED
+>
+<!ELEMENT BasicType EMPTY>
+<!ATTLIST BasicType
+ Type (STRING | FLOAT | INTEGER | REFERENCE | DATETIME) #REQUIRED
+>
+<!ELEMENT RecordType (Member+)>
+<!ELEMENT UnionType (Member+)>
+<!ELEMENT EnumerationType (EnumerationValue+)>
+<!ELEMENT EnumerationValue EMPTY>
+<!ATTLIST EnumerationValue
+ Name NMTOKEN #REQUIRED
+>
+<!ELEMENT Member (%Type;)>
+<!ELEMENT ArrayType (%Type;)>
+<!ATTLIST ArrayType
+ LowerIndex NMTOKEN #REQUIRED
+ UpperIndex NMTOKEN #REQUIRED
+>
+<!ELEMENT ListType (%Type;)>
+<!ELEMENT DeclaredType EMPTY>
+<!ATTLIST DeclaredType
+ Id IDREF #REQUIRED
+>
+<!ELEMENT WorkflowProcess (ProcessHeader, RedefinableHeader?, FormalParameters?, (%Type;)*, DataFields?, Participants?, Applications?, Activities?, Transitions?, ExtendedAttributes?)>
+<!ATTLIST WorkflowProcess
+ Id NMTOKEN #REQUIRED
+ Name CDATA #IMPLIED
+>
+<!ELEMENT ProcessHeader (Created?, Description?, Priority?, Limit?, ValidFrom?, ValidTo?, TimeEstimation?)>
+<!ATTLIST ProcessHeader
+ DurationUnit (Y | M | D | h | m | s) #IMPLIED
+>
+<!ELEMENT Priority (#PCDATA)>
+<!ELEMENT Limit (#PCDATA)>
+<!ELEMENT TimeEstimation (WaitingTime?, WorkingTime?, Duration?)>
+<!ELEMENT WaitingTime (#PCDATA)>
+<!ELEMENT WorkingTime (#PCDATA)>
+<!ELEMENT Duration (#PCDATA)>
+<!ELEMENT ValidFrom (#PCDATA)>
+<!ELEMENT ValidTo (#PCDATA)>
+<!ELEMENT DataField (DataType, InitialValue?, Length?, Description?, ExtendedAttributes?)>
+<!ATTLIST DataField
+ Id NMTOKEN #REQUIRED
+ Name CDATA #IMPLIED
+ IsArray (TRUE | FALSE) "FALSE"
+>
+<!ELEMENT DataTypes (DataType*)>
+<!ELEMENT DataType (%Type;)>
+<!ELEMENT InitialValue (#PCDATA)>
+<!ELEMENT Length (#PCDATA)>
+<!ELEMENT Application (Description?, FormalParameters?, ExtendedAttributes?)>
+<!ATTLIST Application
+ Id NMTOKEN #REQUIRED
+ Name CDATA #IMPLIED
+>
+<!ELEMENT Activity (Description?, Limit?, (Route | Implementation), Performer?, StartMode?, FinishMode?, Priority?, SimulationInformation?, Icon?, Documentation?, TransitionRestrictions?, ExtendedAttributes?)>
+<!ATTLIST Activity
+ Id NMTOKEN #REQUIRED
+ Name CDATA #IMPLIED
+>
+<!ELEMENT Route EMPTY>
+<!ELEMENT Implementation (No | Tool+ | SubFlow | Loop)>
+<!ELEMENT No EMPTY>
+<!ELEMENT Tool (ActualParameters?, Description?, ExtendedAttributes?)>
+<!ATTLIST Tool
+ Id NMTOKEN #REQUIRED
+ Type (APPLICATION | PROCEDURE) #IMPLIED
+>
+<!ELEMENT SubFlow (ActualParameters?)>
+<!ATTLIST SubFlow
+ Id CDATA #REQUIRED
+ Execution (ASYNCHR | SYNCHR) #IMPLIED
+>
+<!ELEMENT Loop (Condition?)>
+<!ATTLIST Loop
+ Kind (WHILE | REPEAT_UNTIL) #IMPLIED
+>
+<!ELEMENT ActualParameter (#PCDATA)>
+<!ELEMENT Performer (#PCDATA)>
+<!ELEMENT StartMode (%Mode;)>
+<!ELEMENT FinishMode (%Mode;)>
+<!ELEMENT Automatic EMPTY>
+<!ELEMENT Manual EMPTY>
+<!ELEMENT Icon (#PCDATA)>
+<!ELEMENT TransitionRestriction (InlineBlock?, Join?, Split?)>
+<!ELEMENT InlineBlock (BlockName?, Description?, Icon?, Documentation?, ExtendedAttributes?)>
+<!ATTLIST InlineBlock
+ Begin NMTOKEN #REQUIRED
+ End NMTOKEN #REQUIRED
+>
+<!ELEMENT BlockName (#PCDATA)>
+<!ELEMENT Join EMPTY>
+<!ATTLIST Join
+ Type (AND | XOR) #IMPLIED
+>
+<!ELEMENT Split (TransitionRefs?)>
+<!ATTLIST Split
+ Type (AND | XOR) #IMPLIED
+>
+<!ELEMENT TransitionRef EMPTY>
+<!ATTLIST TransitionRef
+ Id NMTOKEN #REQUIRED
+>
+<!ELEMENT SimulationInformation (Cost, TimeEstimation)>
+<!ATTLIST SimulationInformation
+ Instantiation (ONCE | MULTIPLE) #IMPLIED
+>
+<!ELEMENT Cost (#PCDATA)>
+<!ELEMENT Transition (Condition?, Description?, ExtendedAttributes?)>
+<!ATTLIST Transition
+ Id NMTOKEN #REQUIRED
+ From NMTOKEN #REQUIRED
+ To NMTOKEN #REQUIRED
+ Loop (NOLOOP | FROMLOOP | TOLOOP) #IMPLIED
+ Name CDATA #IMPLIED
+>
+<!ELEMENT Condition (#PCDATA | Xpression)*>
+<!ATTLIST Condition
+ Type (CONDITION | OTHERWISE) #IMPLIED
+>
+<!ELEMENT Xpression ANY>
+<!ELEMENT FormalParameter (DataType, Description?)>
+<!ATTLIST FormalParameter
+ Id NMTOKEN #REQUIRED
+ Index NMTOKEN #IMPLIED
+ Mode (IN | OUT | INOUT) "IN"
+>