W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2014

[Bug 25919] unparsed-text-023 should not expect a static error

From: <bugzilla@jessica.w3.org>
Date: Fri, 30 May 2014 14:34:55 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-25919-523-2dWd17QiiD@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25919

--- Comment #3 from Josh Spiegel <josh.spiegel@oracle.com> ---

Tim, thanks for the quick response.  I see your point but I am not fully
convinced that the spec allows the success or failure of static
optimizations/checking to alter the semantics of the expression.  

It seems K2-SeqDocFunc-4 is one of the fn:doc tests you are remembering:

http://dev.w3.org/cvsweb/~checkout~/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQuery/Functions/SeqFunc/NodeSeqFunc/SeqDocFunc/K2-SeqDocFunc-4.xq

It allows both FODC0002 and XPST0001. So, at the very least, there is a long
standing precedent for allowing this.  I will update the tests I mentioned to
include both results as you and O'Neil suggest.  

Also, finding this test led me to a related bug:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17707

Mike Kay essentially raises the same issue that I have (problem (c) in the
description).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 30 May 2014 14:34:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:56 UTC