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

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





------- Comment #7 from virginia.smith@hp.com  2007-11-08 16:06 -------
TargetType cannot be considered violated based solely on whether a target is
unresolved or not. Consider the use case where the schema author does not want
to make the target required but, if present, must be of a specific type.  
In other words:
sml:ref="true", sml:nilref="false", targetRequired="false", targetType="myType"
and no target

In this case, we cannot consider targetType to be violated for an unresolved
reference. 

Received on Thursday, 8 November 2007 16:06:53 UTC