- From: Curt Arnold <carnold@houston.rr.com>
- Date: Wed, 21 Jan 2004 10:25:42 -0600
- To: www-dom-ts@w3.org
Received on Wednesday, 21 January 2004 11:26:29 UTC
One more tweak:
If
<complexType name="b">
<extension base="a"/>
</complexType>
b.isDerivedFrom(otherType, METHOD_RESTRICTION) =
- otherType == xsd:anySimpleType || otherType == xsd:anyType
+ otherType == xsd:anyType
b.isDerivedFrom(otherType, METHOD_UNION) =
false
b.isDerivedFrom(otherType, METHOD_EXTENSION) =
- otherType == a || a.isDerivedFrom(otherType, METHOD_EXTENSION)
+ otherType == a || a.isDerivedFrom(otherType, METHOD_EXTENSION) ||
+ a.isDerivedFrom(otherType, METHOD_RESTRICTION)
b.isDerivedFrom(otherType, METHOD_LIST)
false
Received on Wednesday, 21 January 2004 11:26:29 UTC