AnsweredAssumed Answered

Mandatory-enforce not overridable according to modelSchema.xsd

Question asked by ipirat on May 30, 2014
Latest reply on Jun 4, 2014 by kaynezhang
I think, I came across something one could call a bug, or, at least unexpected behaviour:
When defining the mandatory attribute on a model property, one can use "enforced=true/false"
to control the enforcement of the "mandatory" constraint.

When overriding the mandatory attribute, you cant specify "enforced", as mandatory is "just" aboolean when overriding.

   <xs:complexType name="property">
         <xs:element name="mandatory" maxOccurs="1" minOccurs="0" type="dd:mandatoryDef" />

   <xs:complexType name="propertyOverride">
         <xs:element name="mandatory" maxOccurs="1" minOccurs="0" type="xs:boolean" />

I think, this should be overridable…