- XML Information Set
XML Information Set (XML Infoset) is a W3C specification describing an abstract data model of an
XML document in terms of a set of "information items". The definitions in the XML Information Set specification are meant to be used in "other" specifications that need to refer to the information in aWell-formed XML document .An XML document has an information set if it is well-formed and satisfies the namespace constraints. There is no requirement for an XML document to be valid in order to have an information set.
An information set can contain up to eleven different types of information items:
#The Document Information Item (always present)
#Element Information Items
#Attribute Information Items
#Processing Instruction Information Items
#Unexpanded Entity Reference Information Items
#Character Information Items
#Comment Information Items
#The Document Type Declaration Information Item
#Unparsed Entity Information Items
#Notation Information Items
#Namespace Information ItemsInfoset recommendation Second Edition was adopted on
February 4 ,2004 .Infoset Augmentation
Infoset augmentation or infoset modification refers to the process of modifying the infoset during schema validation, for example by adding default attributes. The augmented infoset is called the post-schema-validation infoset, or PSVI. [ [http://www.w3.org/TR/xmlschema11-1/ XML Schema 1.1 Part 1: Structures] ]
Infoset augmentation is somewhat controversial, with claims that it is a violation of modularity and tends to cause interoperability problems, since applications get different information depending on whether or not validation has been performed. [ [http://www.imc.org/ietf-xml-use/mail-archive/msg00217.html RELAX NG and W3C XML Schema] , James Clark, 4 Jun 2002]
Infoset augmentation is supported by XML Schema but not
RelaxNG .ee also
XML Information Set instances:
*Document Object Model
*Xpath data model
*SXML References
External links
* [http://www.w3.org/TR/xml-infoset/ W3C XML Information set recommendation (Second Edition)]
* [http://java.sun.com/developer/technicalArticles/xml/fastinfoset/ fastinfoset] (for binary encoding of the Infoset)
Wikimedia Foundation. 2010.