[Bug 5040] Hanlding of reference constraints on different kinds of elements

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5040





------- Comment #3 from kumarp@microsoft.com  2007-10-29 18:43 -------
Proposal:
Both '?' values in the table should be 'Violated'.

                Acyclic         targetRequired  targetElement   targetType
Unresolved      Satisfied       Violated        ?               ?

The targetElement/Type constraint says that the target element/type must be as
specified. We cannot evaluate targetElement/Type constraint for unresolved
references. We cannot obviously declare the model to be valid when we are not
able to check some constraints. Thus, the most logical choice is 'Violated'.

Note that we have already used this reasoning for targetRequired constraint
where we define the constraint to be violated for unresolved refs. 

Received on Monday, 29 October 2007 18:43:34 UTC