\u0085 whitespace or a random unicode character by ES5?

Dave Fugate dfugate at microsoft.com
Wed Jul 6 10:38:43 PDT 2011

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

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?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110706/f7fc93e0/attachment.html>

More information about the es-discuss mailing list