W3C home > Mailing lists > Public > www-xml-infoset-comments@w3.org > January to March 2001

Re: Inconsistency between 2.3 and 2.6

From: Richard Tobin <richard@cogsci.ed.ac.uk>
Date: Wed, 3 Jan 2001 15:07:30 GMT
Message-Id: <28657.200101031507@mcpherson.cogsci.ed.ac.uk>
To: Martin Gudgin <marting@develop.com>
Cc: www-xml-infoset-comments@w3.org, w3c-xml-core-wg@w3.org
>Section 2.6 - Character Information Items. In the description of the parent
>property refers to the [children] property of 'element, attribute and
>namespace attribute' information items.

This is stale text.  It should say "[children] property of element
information items".

>Also, given that there is no 'children' property I'm not clear how I could
>'navigate' the Infoset and get to the CIIs that make up the value of an AII.

You can't.  You just get the normalized text as a string.  The
advantages of having text as characters (as in elements) are to allow
other things - entity boundaries for example - to be interspersed
between them, and to allow properties on the characters
(element-content whitespace is the only one we have).  For attributes,
only the entity boundaries are relevant, and we concluded that
normalization of attributes makes it impossible to assign characters
in the normalized value to entities in the original, even though the
DOM tries to do it.

-- Richard
Received on Wednesday, 3 January 2001 10:07:32 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 19 May 2005 09:46:42 GMT