W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2011

[Bug 11996] New: [XQFTTS] Catalog001, Catalog002, Catalog003

From: <bugzilla@jessica.w3.org>
Date: Mon, 07 Feb 2011 08:44:51 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-11996-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11996

           Summary: [XQFTTS] Catalog001, Catalog002, Catalog003
           Product: XPath / XQuery / XSLT
           Version: Proposed Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


These tests have been written to use fn:doc rather than using an $input-context
variable, which places an unnecessary reliance on URI resolution behaviour in
the test harness.  The catalog is actually correctly setting $input-context, so
the queries should probably have been written as:

(: Name: Catalog001 :)
(: Description: test all input files have variable references :)

(: insert-start :)
(: declare variable $input-context external; :)
(: insert-end :)

<missing-variable>{
  for $x in $input-context//*:input-file
    [count(@variable) = 0 and ./text() != "emptydoc"]
  return string($x/../@name)
}</missing-variable>

rather than using doc("../../../XQFTTSCatalog.xml")

Compare with the corresponding tests in XQTS.

-- 
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 Monday, 7 February 2011 08:44:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:45 UTC