W3C home > Mailing lists > Public > www-tag@w3.org > December 2007

Re: New draft of Elaborated Infosets document (xmlFunctions-34)

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 06 Dec 2007 17:16:40 +0000
To: John Cowan <cowan@ccil.org>
Cc: "Williams, Stuart (HP Labs, Bristol)" <skw@hp.com>, "www-tag@w3.org" <www-tag@w3.org>
Message-ID: <f5btzmveoav.fsf@hildegard.inf.ed.ac.uk>

Hash: SHA1

John Cowan writes:

> Williams, Stuart (HP Labs, Bristol) scripsit:
>> Is there such a specification of the infoset produced by a "conformant"
>> XML parser? If so, a reference would be helpful.
> The Infoset WG tried to write one until we discovered such minor
> embarrassments as that a conformant parser is required to notify its
> caller about attributes, but not about elements.  So we gave up on that
> and just talked about the infoset of a document, which a parser may or
> may not report in full.

Actually, I think the Infoset spec. actually does at least come close
to an answer.  It [1] says [emphasis added]:

  "*XML Versions*

  "Different versions of the XML specification may specify different
   parsing rules. _The information set of an XML document is defined to
   be_ the one obtained by parsing it according to the rules of the
   specification whose version corresponds to that of the document. A
   document which does not specify a version number is considered to
   have version 1.0. If an XML processor accepts a document with a
   version number that it does not understand, it will not necessarily
   be able to produce the correct information set."

[1] http://www.w3.org/TR/xml-infoset/#intro
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Thursday, 6 December 2007 17:17:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:54 UTC