May be raised if the implementation does not support the feature "XML" and the language exposed through the Document does
not support XML Namespaces (such as [HTML4]).
Note:
Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not
occur. It is expected that a future version of the DOM will provide a way for populating a DocumentType.