Project

Profile

Help

Bug #5865

closed

XQuery accepts attribute delimiters other than single and double quotes

Added by Michael Kay about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XQuery conformance
Sprint/Milestone:
-
Start date:
2023-01-31
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, 11, 12, trunk
Fix Committed on Branch:
10, 11, 12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

In an XQuery direct element constructor, Saxon allows any character to be used as the delimiter for an attribute, so long as it's consistent. For example <a b=§c§/> is accepted without error.

Actions #1

Updated by Michael Kay about 1 year ago

Added QT3 test case Constr-attr-syntax-11

Actions #2

Updated by Michael Kay about 1 year ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 10, 11, 12, trunk added
  • Fixed in Maintenance Release 11.5, 10.9 added
  • Platforms .NET, Java added

Noting belatedly that this was cleared before the 10.9 and 11.5 maintenance releases.

Actions #3

Updated by Debbie Lockett about 1 year ago

  • Status changed from Resolved to In Progress

The fix in XQueryParser.java on the saxon12 and main branches is not correct. It looks like two attempts were required to get the right fix on the saxon11 branch, but the second change was not made on the saxon12 and main branches. (I'm seeing failures running the QT3 test suite.)

Actions #4

Updated by Michael Kay about 1 year ago

  • Status changed from In Progress to Resolved

Thanks, I think it's now fixed.

Actions #5

Updated by O'Neil Delpratt about 1 year ago

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

Bug fix applied in the Saxon 12.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF