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

[Bug 6695] whiteSpace=collapse

From: <bugzilla@wiggum.w3.org>
Date: Sun, 22 Mar 2009 00:45:26 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1LlBoc-00029o-7l@wiggum.w3.org>

--- Comment #1 from Dave Peterson <davep@iit.edu>  2009-03-22 00:45:25 ---
(In reply to comment #0)

> A more rigorous definition might be:
> collapse:
>   After the processing implied by replace, contiguous sequences of #x20's are
> collapsed to a single #x20, and any #x20 at the start or end of the string is
> then removed.

I gather the question is whether an input of whitespace only (and at least one)
should collapse to a single space character or to the empty string.  I don't
think that proposed definition answers the question any better than the status
quo version.  Assuming we *want* to have one space character remain, we should
say something explicit, like "; if the original string consisted of only
whitespace, the final result is one space character" (added just before the
final period).

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 22 March 2009 00:45:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:09 UTC