Project

Profile

Help

Bug #2932

closed

NullPointerException when an xsl:package contains an xsl:include

Added by Michael Kay over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT 3.0 packages
Sprint/Milestone:
-
Start date:
2016-09-12
Due date:
% Done:

100%

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

Description

Arises in new test case glob-cxt-item-005, when the containing package is compiled using XsltCompiler.compilePackage().

java.lang.NullPointerException

at net.sf.saxon.style.XSLGeneralIncorporate.getIncludedStylesheet(XSLGeneralIncorporate.java:183)

at net.sf.saxon.style.StylesheetModule.spliceIncludes(StylesheetModule.java:494)

at com.saxonica.ee.packages.PrincipalStylesheetModuleEE.spliceUsePackages(PrincipalStylesheetModuleEE.java:83)

at net.sf.saxon.style.PrincipalStylesheetModule.preprocess(PrincipalStylesheetModule.java:340)

at net.sf.saxon.style.Compilation.compilePackage(Compilation.java:221)

at net.sf.saxon.s9api.XsltCompiler.compilePackage(XsltCompiler.java:485)

Please register to edit this issue

Also available in: Atom PDF