W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2004

Proposed erratum or addition to XML Schema 1.1: support for ignorable whitespace

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Wed, 02 Jun 2004 14:57:45 -0400
To: Henry Thompson <ht@cogsci.ed.ac.uk>, "C. M. Sperberg-McQueen" <cmsmcq@w3.org>
Cc: www-xml-schema-comments@w3.org
Message-id: <87n03lbxee.fsf@nwalsh.com>
In the infoset for a DTD validated document, whitespace that appears
inside elements that have element only content is annotated with the
[element content whitespace] property.

The XML Schema specification does not provide this information, but I
can see no reason why it should not. Validation already alters some
properties in the infoset, such as adding default attributes to the
list of attributes on an element, so I can see no reason why the
validation process should not be allowed to set the [element content
whitespace] property on whitespace characters that occur inside
elements that are not mixed.

Setting this property would allow applications consuming validated
documents to behave more uniformly without regard to the validation
technology employed.

                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Received on Wednesday, 2 June 2004 14:58:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:34 UTC