A W3C XML Schema imposes three kinds of constraints:
Schema-instance constraints: if an attribute is declared to have a certain (simple) type in the schema, then all values of that attribute in the instance must conform to the type.
Instance-instance constraints: if an attribute is declared to be unique, then no two values of that attribute in the instance may be equal (according to the definition of "equality" for the attribute's type).
Schema-schema constraints: if a complex type is said to be derived by restriction from another complex type, then it must redeclare the components of that type either unchanged or reduced in what may be called "strength".
No comments:
Post a Comment