XOM Infoset Mapping


XOM supports the following information items from the XML Information Set, all of which are need to implement the specification:

  • The Document Information Item

  • Element Information Items

  • Attribute Information Items

  • Processing Instruction Information Items

  • Character Information Items

  • Comment Information Items

  • The Document Type Declaration Information Item

  • Namespace Information Items

Except as noted below, XOM supports and requires all properties of these information items. The exceptions are:

  • The [notations], [unparsed entities], [character encoding scheme], [standalone], [version], and [all declarations processed] properties of the Document Information Item

  • The [specified] and [references] properties of Attribute Information Items

  • The [notation] property of Processing Instruction Information Items

  • The [element content whitespace] properyt of Character Information Items

  • The [children] property of the Document Type Declaration Information Item. However, these will be passed through XOM unchanged.

XOM does not support synthetic infosets that cannot be serialized as namespace well-formed XML documents.

XOM does not support:

  • Unexpanded Entity Reference Information Items

  • Unparsed Entity Information Items

  • Notation Information Items

All entity references are expanded. XOM does not allow unexpanded entity references.

Unparsed entity and notation information items that are defined in the internal DTD subset are passed through unchanged as long as the document type declaration is not removed. Unparsed entity and notation information items that are defined in the external DTD subset are deleted.

XOM requires no information from the XML document that is not specified by the Infoset.