W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2015

[Bug 27908] K2-SeqDocFunc-12

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Jan 2015 15:19:06 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27908-523-GjPktBlThv@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27908

--- Comment #2 from Christian Gruen <christian.gruen@gmail.com> ---
Michael, thanks for your assessment. In that case, it could make sense to add
some more test cases to ensure that pre-evaluated expressions are replaced with
errors. I tested this and similar queries with a number of implementations, and
I found out that they all yield different results.

As an example, the following query should probably yield an empty sequence. But
the implementations I tested raised either FODC0005 or FODC0002:

  <a/>/*[doc('%gg')]

For the following query, all implementations returned FODC0002:

  <a/>/*[doc('i-do-not.exist')]

The following query returns an empty sequence or the typing eror XPTY0004
(depending on the implementation):

  <a/>/*[1 + '']

What do you think?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 27 January 2015 15:19:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 27 January 2015 15:19:10 UTC