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:47:04 +0200
Message-ID: <CAJQvAucHC1zZO7rZ3J8GFQ_qKLKkmWiF8BuZROwxs_z09PtCtQ@mail.gmail.com>
To: Daniel Glazman <daniel@glazman.org>
Cc: Noah Mendelsohn <nrm@arcanedomain.com>, "www-tag@w3.org" <www-tag@w3.org>, Norm Walsh <ndw@nwalsh.com>
On Tue, Jan 22, 2013 at 4:32 PM, Daniel Glazman <daniel@glazman.org> wrote:
> Oh come on... The XML declaration belongs to the
> document instances and there should not be represented in the OM?

SAX2 ContentHandler does the best job at separating the significant
from the artifacts in XML and the XML declaration is not exposed in
SAX2 ContentHandler, either.

On Tue, Jan 22, 2013 at 4:37 PM, Noah Mendelsohn <nrm@arcanedomain.com> wrote:
> I think
> that indicating whether something is an XML or HTML document is deeper

Yeah, browsers maintain an HTMLness flag in the data model. That's
different from the XML declaration.

Henri Sivonen
Received on Tuesday, 22 January 2013 14:47:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:51 UTC