[Bug 3233] Space-separation in lists

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





------- Comment #1 from davep@iit.edu  2006-05-19 22:42 -------
(In reply to comment #0)
> In 2.6.1.2, in the paragraph after the first example, it might be useful
> to replace "space" by "whitespace", since we're talking about value spaces
> and lexical spaces in the same breath.

I don't know how that would help.  The sentence saying "space-separated"
is talking solely about the lexical space, and lexical representations of list
values *always* have multiple item lexical representations separated by one
space character, not arbitrary whitespace.  For better or for worse, whitespace
processing occurs *before* the literal is considered for membership in the
lexical space.  (Lists always have whitespace "collapse".)

>                                                 In fact, the way the spec explains
> that the lexical representation of a list value is a whitespace-separated
> sequence of literals representing the items is pretty obscure: the paragraph
> that precedes the second example should come earlier in the section.

Perhaps that sentence should read "Since ·list· items are separated at
space characters before the ·lexical representations· of the items are mapped
to values (and separating space characters are the only whitespace that can
occur), no whitespace will ever occur in the ·lexical representation·
of a ·list· item, even when the item type would in principle allow it."

Received on Friday, 19 May 2006 22:42:47 UTC