Project

Profile

Help

Bug #4407

closed

Unescaped right curly brace in regular expression

Added by Michael Kay almost 5 years ago. Updated over 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).

Please register to edit this issue

Also available in: Atom PDF