Re: Highlighting issue of XML support in DOM 4

On Tue, Jan 22, 2013 at 4:49 PM, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> Unlike quote style or intra-tag whitespace, the xml declaration _is_
> is part of the information content of an XML document: the XML Infoset
> spec. [1] defines relevant properties for the Document infoitem.  The
> XML DOM should implement the Infoset spec.

> [1] http://www.w3.org/TR/xml-infoset/#infoitem.document

How did the infoset spec end up considering that stuff part of the
information content?

 * [version] is always 1.0 now that everyone has given up on 1.1, so
it's useless to expose an API for it.
 * [character encoding scheme] in the infoset does not appear to map
1-to-1 to DOM xmlCharset. It does seem to map 1-to-1 to DOM
characterSet.
 * [standalone] is a parse-time promise. What business does it have in
the infoset?

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Tuesday, 22 January 2013 14:59:13 UTC