[1] The DOM XML Document Type Definition module is a set of DOM interfaces, via which DOM applications can access to document type definitions attached to XML documents, for both reading and writing.
[2] The DOM XML Document Type Definition module, version 3.0, consists of three interfaces:
Entity,
EntityReference, and
Notation and
modifies semantics of some methods and attributes
of ProcessingInstruction
objects.[3]
In a DOM implementation that supports version 3.0 of
the DOM XML Document Type Definition module,
the hasFeature method
of a DOMImplementation object
MUST return true
when parameters are set to
http://suika.fam.cx/www/2006/feature/XDoctype
and 3.0.
In such an implementation, the getFeature
method of a Document object
MUST return the same object with
DocumentXDoctype interface
when parameters are set to
http://suika.fam.cx/www/2006/feature/XDoctype
and 3.0.
Likewise, any method that takes one or more feature
names with or without version number,
including hasFeature and
getFeature, MUST
behave in a manner consistent with the abovementioned
cases.