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 17759 - [QT3TS] fn-tokenize-32
Summary: [QT3TS] fn-tokenize-32
Status: CLOSED 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: 2012-07-12 15:15 UTC by Tim Mills
Modified: 2012-07-12 15:51 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2012-07-12 15:15:26 UTC
I think the query which matches these results is

fn:tokenize("ABRACADABRA", "a", "i")

and not

fn:tokenize("ABRACADABRA", "a", "q")

as stated.

   <test-case name="fn-tokenize-32">
      <description> Evaluation of tokenize function with regex 'q' and "i" flags. </description>
      <created by="Michael Kay" on="2012-07-09"/>
      <dependency type="spec" value="XP30+ XQ30+"/>
      <test>fn:tokenize("ABRACADABRA", "a", "q")</test>
      <result>
         <assert-deep-eq>"", "BR", "C", "D", "BR", ""</assert-deep-eq>
      </result>
   </test-case>
Comment 1 Michael Kay 2012-07-12 15:37:23 UTC
Thanks, fixed (changed the test to reflect its intent)
Comment 2 Tim Mills 2012-07-12 15:51:29 UTC
Confirmed fixed.  Thanks.