You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2013/10/10 15:41:45 UTC

svn commit: r1530976 - /ofbiz/trunk/framework/entity/dtd/entitymodel.xsd

Author: adrianc
Date: Thu Oct 10 13:41:45 2013
New Revision: 1530976

URL: http://svn.apache.org/r1530976
Log:
Allow redefinition of view entities. XML schema change only - implementation exists already.

Modified:
    ofbiz/trunk/framework/entity/dtd/entitymodel.xsd

Modified: ofbiz/trunk/framework/entity/dtd/entitymodel.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/dtd/entitymodel.xsd?rev=1530976&r1=1530975&r2=1530976&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/dtd/entitymodel.xsd (original)
+++ ofbiz/trunk/framework/entity/dtd/entitymodel.xsd Thu Oct 10 13:41:45 2013
@@ -256,6 +256,15 @@ under the License.
         <xs:attribute name="copyright" type="xs:string"/>
         <xs:attribute name="author" type="xs:string"/>
         <xs:attribute name="version" type="xs:string"/>
+        <xs:attribute name="redefinition" type="boolean">
+            <xs:annotation>
+                <xs:documentation>
+                    Indicates if this entity redefines an existing entity.
+                    When set to "true" it will suppress "Entity is defined more than once" warnings.
+                    Defaults to "false".
+                </xs:documentation>
+            </xs:annotation>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="member-entity">
         <xs:complexType>