[Bug 27908] K2-SeqDocFunc-12

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