Project

Profile

Help

Bug #2353

closed

NPE in schema-aware transformation

Added by Michael Kay about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema-Aware processing
Sprint/Milestone:
Start date:
2015-04-07
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

In a schema-aware transformation, if an XPath expression attempts to use the child axis when the context item is known to have a complex type with an empty content model, then instead of producing a suitable warning ("The complex type of element E does not allow children"), a NullPointerException may occur.

Reported today on Sourceforge saxon-help list by Patrik Stellmann.

Please register to edit this issue

Also available in: Atom PDF