Bug 20233 - [QT3TS] K2-OrderbyExprWithout-42
[QT3TS] K2-OrderbyExprWithout-42
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite
Working drafts
PC Windows NT
: P2 normal
: ---
Assigned To: O'Neil Delpratt
Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
  Show dependency treegraph
Reported: 2012-12-04 11:41 UTC by Tim Mills
Modified: 2013-01-04 09:14 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mills 2012-12-04 11:41:14 UTC
I wonder if a better assertion could be used in this test?  Perhaps <assert-count>1</assert-count>?

   <test-case name="K2-OrderbyExprWithout-42">
      <description> Apply fn:string() on a for clause that only produces on item, and that cannot easily constant propagate. </description>
      <created by="Frans Englich" on="2007-11-26"/>
      <test>string(for $i in current-date() order by $i return $i)</test>
Comment 1 O'Neil Delpratt 2013-01-02 14:56:00 UTC
I agree. Test assertion changed to <assert-count>1</assert-count>
Comment 2 Tim Mills 2013-01-04 09:14:45 UTC