On Wed, Jul 6, 2011 at 7:38 PM, Dave Fugate <dfug...@microsoft.com> wrote:
> Several test262 test cases operate on the assumption ‘\u0085’, aka Next
> Line, is considered a whitespace character and I’d like to get some
> clarification on whether it really is or not as-per ES5.1.
>
> Table 3 of ES5, Line Terminator Characters, does not call out \u0085 as
> being a valid line terminator.  It does however state:
>
>                 Only the characters in Table 3 are treated as line
> terminators. Other new line or line breaking characters are treated as white
> space but not as line terminators.
>
> This raises two questions:
>
> 1.       Is Next Line considered to be a ‘new line’ or ‘line breaking
> character’?  By definition, the answer seems to be yes

I would say no. 7.3 clearly states it's NOT a line terminator.

> 2.       Next Line is not called out anywhere in Table 2, Whitespace
> Characters.  Does this mean Table 2 is simply missing a row for the clause
> from “Line Terminators” above, or that the clause should not even exist?

Or 7.2 should be extended with noting that any unicode line terminator
that's not listed in 7.3 is also considered (regular) white space, as
per 7.2.

- peter
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to