TypeInfo

Deprecated

This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The obsolete TypeInfo interface was intended to be used to describe a DOM data type by keying its name to a namespace within the document's schema.

Properties

TypeInfo.typeName Read only
Returns a DOMString indicating the type's name.
TypeInfo.typeNamespace Read only
Returns a DOMString indicating the type's namespace within the schema.

Methods

TypeInfo.isDerivedFrom()
Returns a Boolean.

Constants

Constant Value
DERIVATION_RESTRICTION 1
DERIVATION_EXTENSION 2
DERIVATION_UNION 4
DERIVATION_LIST 8

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 Core Specification
The definition of 'TypeInfo' in that specification.
Obsolete Initial definition