Author: nmalin Date: Wed Aug 23 17:36:41 2017 New Revision: 1805941 URL: http://svn.apache.org/viewvc?rev=1805941&view=rev Log: Implemented: Manage deprecated service in the ModelService (OFBIZ-9558) Related to the commit 1804786, publish the framework/service/dtd/services.xsd with the new deprecated element
Modified: ofbiz/site/dtds/services.xsd Modified: ofbiz/site/dtds/services.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?rev=1805941&r1=1805940&r2=1805941&view=diff ============================================================================== --- ofbiz/site/dtds/services.xsd (original) +++ ofbiz/site/dtds/services.xsd Wed Aug 23 17:36:41 2017 @@ -44,6 +44,7 @@ under the License. <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"/> @@ -448,6 +449,19 @@ under the License. </xs:simpleType> </xs:attribute> </xs:attributeGroup> + <xs:element name="deprecated"> + <xs:complexType> + <xs:attributeGroup ref="attlist.deprecated"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.deprecated"> + <xs:attribute name="use-instead" type="xs:string" use="required"> + <xs:annotation><xs:documentation>Precise the service who replace now the current</xs:documentation></xs:annotation> + </xs:attribute> + <xs:attribute name="since" type="xs:string" use="optional"> + <xs:annotation><xs:documentation>Precise the ofbiz release when this service has been set to deprecated</xs:documentation></xs:annotation> + </xs:attribute> + </xs:attributeGroup> <xs:element name="override"> <xs:complexType> <xs:sequence>