Actions
Bug #2353
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
NPE in schema-aware transformation
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
Actions