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

[Bug 27908] K2-SeqDocFunc-12

From: <bugzilla@jessica.w3.org>
Date: Sat, 12 Sep 2015 07:32:22 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27908-523-GPAV49nBbx@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Saturday, 12 September 2015 07:32:26 UTC