Author: deepak Date: Fri Aug 25 18:18:33 2017 New Revision: 1806208 URL: http://svn.apache.org/viewvc?rev=1806208&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/site/dtds/services.xsd Modified: ofbiz/site/dtds/services.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?rev=1806208&r1=1806207&r2=1806208&view=diff ============================================================================== --- ofbiz/site/dtds/services.xsd (original) +++ ofbiz/site/dtds/services.xsd Fri Aug 25 18:18:33 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>