Project

Profile

Help

Bug #4819

Expression "map{} castable as xs:integer" fails with NullPointerException

Added by Michael Kay 16 days ago. Updated 16 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2020-11-10
Due date:
% Done:

0%

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

Description

Reported by Ghislain Fourny on xquery-talk.

I think the correct result is a type error.

QT3 test case CastableAs666 created

History

#1 Updated by Michael Kay 16 days ago

  • Status changed from New to Resolved
  • Applies to branch 10, trunk added
  • Fix Committed on Branch 10, trunk added

Fixed by adding a check in CastableExpression.typeCheck() that sourceItemType.getAtomizedItemType() is not null.

Please register to edit this issue

Also available in: Atom PDF