W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2011

[Bug 14917] Normalization of line endings in XPath

From: <bugzilla@jessica.w3.org>
Date: Sat, 10 Dec 2011 19:18:26 +0000
To: public-qt-comments@w3.org
Message-Id: <E1RZSRG-0008Nv-MX@jessica.w3.org>

--- 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.


<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 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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:37 UTC