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.

Actions #1

Updated by Michael Kay about 9 years ago

  • Status changed from In Progress to Resolved

Reproduced using the test case supplied by the originator.

Patch committed to UserComplexType on the 9.5, 9.6, and 9.7 branches.

Actions #2

Updated by O'Neil Delpratt about 9 years ago

  • Found in version changed from 9.6 to 9.5 9.6
Actions #3

Updated by O'Neil Delpratt about 9 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.5.1.10

Bug fix applied in the Saxon 9.5.1.10 maintenance release

Actions #4

Updated by O'Neil Delpratt about 9 years ago

  • Status changed from Closed to Resolved

Leaving this one as resolved until fix is applied in the 9.6 maintenance release.

Actions #5

Updated by O'Neil Delpratt almost 9 years ago

  • Status changed from Resolved to Closed
  • Fixed in version changed from 9.5.1.10 to 9.6.0.6

Bug fix applied in the Saxon 9.6.0.6 maintenance release.

Actions #6

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.6
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.6 added

Please register to edit this issue

Also available in: Atom PDF