[Bug 6695] whiteSpace=collapse

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6695





--- 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