W3C home > Mailing lists > Public > www-tag@w3.org > January 2013

Re: Highlighting issue of XML support in DOM 4

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 22 Jan 2013 16:58:45 +0200
Message-ID: <CAJQvAufVt3ESCA-bwFVONSqbf=nc=uQ=EgHBNr+JM-aygu0CzA@mail.gmail.com>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: Noah Mendelsohn <nrm@arcanedomain.com>, "www-tag@w3.org" <www-tag@w3.org>, Daniel Glazman <daniel@glazman.org>, Norm Walsh <ndw@nwalsh.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 January 2013 14:59:13 GMT