W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2009

[Bug 6802] [FT] Test Suite Revised

From: <bugzilla@wiggum.w3.org>
Date: Thu, 16 Apr 2009 13:54:37 +0000
To: public-qt-comments@w3.org
Message-Id: <E1LuS33-0005B1-US@wiggum.w3.org>

--- Comment #2 from Christian Gruen <christian.gruen@gmail.com>  2009-04-16 13:54:37 ---
Dear Pat,

some quick comments to [9] and [10]..

[9] full-text-composability-queries-results-q5.xq

My parser still seems to complain about the new version; the following return
statement might do its job:


return <book number="{$book/@number}">{
  if (count($book/metadata/author) > 0)
  then ($book/metadata/author, $in, $pin)
  else ($book/metadata/publicationInfo/publisher, $in, $pin))


This an equivalent version, which is a little bit shorter:

return <book number="{$book/@number}">{
  if ($book/metadata/author)
  then $book/metadata/author
  else $book/metadata/publicationInfo/publisher,
  $in, $pin)


[10] xquery-xpath-composability-queries-results-q9.xq

Sorry, I didn't write too much on this. "./part/chapter" is grammatically
correct, but no context item is defined at this point, leading to an XPDY0002
error. This is why I suggested to replace "." with "$cont".


Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 16 April 2009 13:54:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:27 UTC