Actions
Bug #2169
closedmap{} is parsed as ExprSingle, not as a Primary
Start date:
2014-10-08
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
The new syntax map{a "b"} is recognized as an ExprSingle, not as a Primary. This means it cannot be used in some contexts, for example
map{} instance of map(*)
Also, Saxon recognizes map expressions in the form {a (without the "map" keyword), which was a syntax at one time proposed by the W3C working groups, but subsequently dropped.
A patch is being committed on the 9.6 and 9.7 branches to recognize map expressions only as a Primary, and to drop support for the "bare curly braces" syntax, which can lead to confusing error messages.
Updated by O'Neil Delpratt about 10 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.2
Bug fix applied to the maintenance release Saxon 9.6.0.2
Updated by O'Neil Delpratt almost 9 years ago
- Sprint/Milestone set to 9.6.0.2
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.2 added
Please register to edit this issue
Actions