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

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