This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27358 - [QT3TS] K2-SeqMaxFunc-6, K2-SeqMINFunc-5
Summary: [QT3TS] K2-SeqMaxFunc-6, K2-SeqMINFunc-5
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-18 14:03 UTC by Tim Mills
Modified: 2015-01-03 17:29 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2014-11-18 14:03:26 UTC
"assert-eq" is the wrong assertion in the test cases below.  I think asssert-string-value is probably what was intended.

   <test-case name="K2-SeqMAXFunc-6">
      <description> Invoke fn:max() with an unsupported collation and one xs:anyURI value. </description>
      <created by="Frans Englich" on="2007-11-26"/>
      <test>max(xs:anyURI("str1"), "max://example.com/UNSUPPORTED_COLLATION")</test>
      <result>
         <any-of>
            <assert-eq>str1</assert-eq>
            <error code="FOCH0002"/>
         </any-of>
      </result>
   </test-case>

  <test-case name="K2-SeqMINFunc-5">
      <description> Invoke fn:min() with an unsupported collation and one xs:anyURI value. </description>
      <created by="Frans Englich" on="2007-11-26"/>
      <test>min(xs:anyURI("str1"), "http://example.com/UNSUPPORTED_COLLATION")</test>
      <result>
         <any-of>
            <assert-eq>str1</assert-eq>
            <error code="FOCH0002"/>
         </any-of>
      </result>
   </test-case>
Comment 1 Michael Kay 2015-01-03 17:29:26 UTC
Changed the assertion to

<assert-eq>xs:anyURI("str1")</assert-eq>