[Bug 24385] [FO30] Unclarity in last-line resolution for fn:unparsed-text-lines()

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24385

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
The WG examined this and agreed that the text as written was capable of being
misinterpreted.

The intended meaning (in line with the usual behaviour of regular expressions
in other languages) is that at most one trailing newline should be ignored. To
clarify, the text in both 3.0 and 3.1 has been changed to read:

If there are two adjacent newline sequences, a zero-length string will be
returned to represent the empty line; but if the external resource ends with
the sequence x0A, x0D, or x0Dx0A, the result will be as if this final line
ending were not present.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 19 February 2014 09:17:45 UTC