XMLNSC DTD support
The input XML message might contain an inline DTD.
If the input XML document has an inline DTD, the XMLNSC parser reads and uses information in the DTD while parsing, but does not add the DTD information to the message tree.
Internal entity definitions in the DTD are used to automatically expand entity references that are encountered in the body of the document.
Attributes that are missing from the input document are automatically supplied with the default value specified in the DTD.
The XMLNSC parser never adds the DTD to the message tree because the information that it contains has already been used during the parse. This behavior keeps the message tree compact and reduces CPU usage, and means that the XMLNSC parser does not always produce exactly the same document as it parsed. However, the business meaning of the output document is not altered.
If these restrictions are a problem, the XMLNS domain and parser provide full support for parsing and writing of the DTD. See XMLNS DTD support.
The XMLNSC parser can produce a DTD that contains entity definitions only. This behavior allows the XMLNSC parser to be used for writing out XML documents that use internal entities (the most common reason for using a DTD). See Manipulating messages in the XMLNSC domain for further details.
No support is offered for external DTDs