ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r1806206 - /ofbiz/ofbiz-framework/trunk/framework/service/dtd/services.xsd
Date Fri, 25 Aug 2017 18:13:07 GMT
Author: deepak
Date: Fri Aug 25 18:13:06 2017
New Revision: 1806206

URL: http://svn.apache.org/viewvc?rev=1806206&view=rev
Log:
Fixed: Updated deprecated element type set mixed as true in services.xsd as we are using it
in mixed mode. Also moved deprecated sequence after namespace.Found this issue while reading
log, this will fix those warning.

Modified:
    ofbiz/ofbiz-framework/trunk/framework/service/dtd/services.xsd

Modified: ofbiz/ofbiz-framework/trunk/framework/service/dtd/services.xsd
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/service/dtd/services.xsd?rev=1806206&r1=1806205&r2=1806206&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/service/dtd/services.xsd (original)
+++ ofbiz/ofbiz-framework/trunk/framework/service/dtd/services.xsd Fri Aug 25 18:13:06 2017
@@ -40,11 +40,11 @@ under the License.
             <xs:sequence>
                 <xs:element minOccurs="0" ref="description"/>
                 <xs:element minOccurs="0" ref="namespace"/>
+                <xs:element minOccurs="0" maxOccurs="1" ref="deprecated"/>
                 <xs:element minOccurs="0" maxOccurs="1" ref="permission-service"/>
                 <xs:element minOccurs="0" maxOccurs="unbounded" ref="required-permissions"/>
                 <xs:element minOccurs="0" maxOccurs="unbounded" ref="implements"/>
                 <xs:element minOccurs="0" ref="metric"/>
-                <xs:element minOccurs="0" maxOccurs="1" ref="deprecated"/>
                 <xs:choice maxOccurs="1" minOccurs="0">
                     <xs:choice minOccurs="0" maxOccurs="unbounded">
                         <xs:element ref="auto-attributes"/>
@@ -450,7 +450,7 @@ under the License.
         </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="deprecated">
-        <xs:complexType>
+        <xs:complexType mixed="true">
             <xs:attributeGroup ref="attlist.deprecated"/>
         </xs:complexType>
     </xs:element>



Mime
View raw message