You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2007/01/28 16:19:00 UTC

svn commit: r500807 - /ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd

Author: hansbak
Date: Sun Jan 28 07:19:00 2007
New Revision: 500807

URL: http://svn.apache.org/viewvc?view=rev&rev=500807
Log:
 anumber of xml format errors were introduced by adding documentation. I did remove them but are not sure if the resulting file is 100% ok now...

Modified:
    ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd

Modified: ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd?view=diff&rev=500807&r1=500806&r2=500807
==============================================================================
--- ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd (original)
+++ ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd Sun Jan 28 07:19:00 2007
@@ -519,13 +519,15 @@
             </xs:annotation>
         </xs:attribute>
         <xs:attribute name="include-user-login" default="true">
-            <xs:documentation>
-                Include-user-login by default will include the user login,
-                so if there is a user login for the current simple-method
-                it will pass that in to the service. If you don't want it to
-                pass that in you can just set this to false.                
-                Defaults to "true". 
-            </xs:documentation>
+            <xs:annotation>
+                <xs:documentation>
+                    Include-user-login by default will include the user login
+                    so if there is a user login for the current simple-method
+                    it will pass that in to the service. If you don't want it to
+                    pass that in you can just set this to false.                
+                    Defaults to "true". 
+                </xs:documentation>
+            </xs:annotation>
             <xs:simpleType>
                 <xs:annotation>
                 </xs:annotation>            
@@ -1453,7 +1455,11 @@
         <xs:complexType>
             <xs:sequence>
                 <xs:element maxOccurs="unbounded" ref="order-by">
-                    Names of fields to order list by.
+                    <xs:annotation>
+                        <xs:documentation>
+                            Names of fields to order list by.
+                        </xs:documentation>
+                    </xs:annotation>
                 </xs:element>
             </xs:sequence>
             <xs:attributeGroup ref="attlist.order-map-list"/>
@@ -2933,11 +2939,6 @@
         </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="filter-list-by-and" substitutionGroup="EntityFindOperations">
-        <xs:annotation>
-            <xs:documentation>
-                
-            </xs:documentation>
-        </xs:annotation>
         <xs:annotation>
             <xs:documentation>
                 The filter-list-by-and tag filters the given list by the fields in the specified map.



Re: svn commit: r500807 - /ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd

Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Hans,

Another time I was caught by the fact that Oxygen is validating online XML files but not XDS files. With Oxygen you have to verify
your XSD file manualy before commiting it.

Jacques

----- Original Message ----- 
From: <ha...@apache.org>
> Author: hansbak
> Date: Sun Jan 28 07:19:00 2007
> New Revision: 500807
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=500807
> Log:
>  anumber of xml format errors were introduced by adding documentation. I did remove them but are not sure if the resulting file is
100% ok now...
>
> Modified:
>     ofbiz/trunk/framework/minilang/dtd/simple-methods.xsd
...