[Bug 14917] Normalization of line endings in XPath

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

--- Comment #2 from Jonathan Robie <jonathan.robie@gmail.com> 2011-12-10 19:18:26 UTC ---
(In reply to comment #1)
> The Working Group agrees. Line-ending normalization will be done only in
> XQuery, in XPath the host language defines whether it is done.

Here are the relevant paragraphs in XQuery and XPath.

XQuery:

<quote diff="unchanged">
The XQuery 3.0 processor must behave as if it normalized all line breaks on
input, before parsing. The normalization should be done according to the choice
to support either [XML 1.0] or [XML 1.1] lexical processing.
</quote>

XPath:

<quote diff="add">
The host language must specify whether the XPath 3.0 processor normalizes all
line breaks on input, before parsing, using the rules of XML 1.0 or 1.1.
</quote>

I kept the sections that describe the rules of XML 1.0 and 1.1 in XPath as well
as in XQuery.

-- 
Configure bugmail: https://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 Saturday, 10 December 2011 19:18:32 UTC