[Bug 27908] K2-SeqDocFunc-12

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

--- Comment #6 from Christian Gruen <christian.gruen@gmail.com> ---
Thanks, I can see your point. I am now wondering if it is then not legitimate
as well to rewrite the original query to the following expression (which would
most probably raise an error)?

  declare variable $fileToOpen := <Variable id="_7" name="constComplex2"
type="_11c" context="_1" location="f0:17" file="f0" line="17"/>; 
  let $_ := doc($fileToOpen)
  return empty(
    if(boolean($_)) then (
      $fileToOpen//*[let $i := @type return $_//*[$i]]
    ) else (
    )
  )

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 12 September 2015 07:32:25 UTC