Project

Profile

Help

Bug #4407

closed

Unescaped right curly brace in regular expression

Added by Michael Kay over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2019-12-09
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:

Description

The XSD/XPath regex syntax does not allow an unescaped right curly brace - it must be escaped with a backslash. Saxon does not detect this, and allows such a regular expression through. This is revealed by test case analyze-string-097, raised in response to Saxon bug #3211, which contains this error. The failure was revealed by Saxon-JS testing (Javascript rejects the preprocessed regex).

Actions #1

Updated by Michael Kay over 4 years ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 9.9, trunk added
Actions #2

Updated by O'Neil Delpratt about 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.7 added

Patch applied in the 9.9.1.7 maintenance release.

Please register to edit this issue

Also available in: Atom PDF