[Bug 14185] fn:collection/fn:doc FODC0002

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14185

--- Comment #1 from Tim Mills <tim@cbcl.co.uk> 2011-09-16 15:50:02 UTC ---
Note that in XQTS, fn-collection-2, FODC0002 was expected

  <test-case is-XPath2="true" name="fn-collection-2"
FilePath="Functions/NodeSeqFunc/SeqCollectionFunc/" scenario="runtime-error"
Creator="Carmelo Montanez">
      <description>Evaluation of fn:collection, for a non existent
resource.</description>
      <spec-citation spec="FuncOps" section-number="15.5.6"
section-title="fn:collection" section-pointer="func-collection"/>
      <query name="fn-collection-2" date="2005-12-02"/>
      <input-file role="principal-data"
variable="input-context1">emptydoc</input-file>
      <expected-error>FODC0002</expected-error>
   </test-case>

whereas in the new test suite, this has been changed to FODC0004.

   <test-case name="fn-collection-2">
      <description> Evaluation of ana fn:collection, which tries to retrieve a
non-existent resource. </description>
      <created by="Carmelo Montanez" on="2005-12-02"/>
      <test>fn:collection("thisfileshouldnotexists")</test>
      <result>
         <error code="FODC0004"/>
      </result>
   </test-case>

-- 
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 Friday, 16 September 2011 15:50:09 UTC