Efficient XML Interchange: Difference between revisions

Content deleted Content added
Brutzman (talk | contribs)
candidate restructuring for clarity
Brutzman (talk | contribs)
m Alternatives: editorial phrasing
Line 31:
An advantage of EXI over Fast Infoset is that EXI (optionally) uses more constraints from the [[XML schema]]. This can make the EXI data more compact; for example, if the XML schema specifies that elements named 'bar' may only exist within elements named 'foo', EXI can assign a shorter token to the 'bar' element, knowing that it doesn't have to share the same token space as elements that occur elsewhere in the document.
 
The main disadvantage is that to take advantage ofutilizing thissuch "schema-informed" compression, not only does the document require a schema, but the decoder needs a copy of the same schema that the encoder used.
 
==Uses==