xsd.ValueConstraintVariety

The xsd.ValueConstraintVariety enumeration provides values for the xsd.ValueConstraint.variety property of xsd.ValueConstraint property records.

Constants

xsd.ValueConstraintVariety.DEFAULT

If the xml.ElementInformationItem being validated is empty, or the xml.AttributeInformationItem is missing, then the the ValueConstraints is used to add an xml.AttributeInformationItem to the post-schema-validation infoset (in case of the ValueConstraint of an xsd.AttributeDeclaration) or to calculate post-schema-validation infoset contributions like the schema_actual_value for the empty xml.ElementInformationItem (in case of the ValueConstraint of an xsd.ElementDeclaration).

xsd.ValueConstraintVariety.FIXED

Like xsd.ValueConstraintVariety.DEFAULT, but if the xml.ElementInformationItem is not empty or the xml.AttributeInformationItem is not missing its xml.ElementInformationItem.schema_actual_value property must match the xsd.ValueConstraint.value property.