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>

-----BEGIN PGP SIGNED MESSAGE-----
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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFHWC54kjnJixAXWBoRAmZkAJ9Y0PDPyujDvsTQsY9UXnbig2BvJgCfZFFu
rM1hlklzdGs+sDa9zb+SN00=
=sDhZ
-----END PGP SIGNATURE-----
Received on Thursday, 6 December 2007 17:17:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:51 GMT