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 28597 - [FO30] [FO31] Incorrect regular expression flags error FORX0001 does not mention "q" flag
Summary: [FO30] [FO31] Incorrect regular expression flags error FORX0001 does not ment...
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2015-05-03 10:26 UTC by Abel Braaksma
Modified: 2015-05-14 21:36 UTC (History)
0 users

See Also:


Description Abel Braaksma 2015-05-03 10:26:42 UTC
Pretty much an editorial omission in FO30 and FO31. The description of the FORX0001 error reads:

    Raised by regular expression functions such as fn:matches and fn:replace 
    if the regular expression flags contain a character other than imsx

But the WG introduced the "q" flag as a valid flag for quoted expressions, so this is now "imsxq".

Also note that the "." is missing from the end of the sentence ;).

The bug is present in both FO30 and FO31.
Comment 1 Michael Kay 2015-05-03 15:04:58 UTC
Thanks, fixed.