isDerivedFrom: typeNamespaceArg, typeNameArg,
derivationMethod(3)
This method provides the capability to determine the
relationship between the target data type and another data type
(given by the typeNameArg
and
typeNamespaceArg
arguments).
This method returns true
if the
target type is derived from the given data type via one of the
methods passed in using the derivationMethod
bitmask argument;
otherwise, it returns false
.
Currently, this method is only defined for use with XML Schema
validation. For more information on type derivation methods in XML
Schema, see Chapter
17.
The namespace associated with the typeNameArg
argument.
The type name to be compared with the target type.
A bitmask that restricts which types of derivation the method will recognize. The valid bitmask values are listed below:
Constant name | Value | Meaning |
---|---|---|
DERIVATION_RESTRICTION | 0x00000001 | The target type is derived from the other type by restricting its possible values (e.g., a positive integer is derived from a signed integer by restricting it to nonnegative values). |
DERIVATION_EXTENSION | 0x00000002 | The target type is derived from the other type by extending its possible values (e.g., a signed integer type would be an extension of an unsigned integer). |
DERIVATION_UNION | 0x00000004 | The target type is partially derived from the other type by its inclusion in a union. |
DERIVATION_LIST | 0x00000008 | The target type is a list of items of the other type. |