Actions
Bug #4515
closedxsl:expose names="foo:*" with undeclared prefix foo causes NullPointerException
Start date:
2020-04-08
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
10, 9.9
Fix Committed on Branch:
10, 9.9
Description
<xsl:expose names="foo:*"/>
with undeclared prefix foo causes a NullPointerException in both 9.9 and 10.0
Stack trace:
java.lang.NullPointerException
at net.sf.saxon.pattern.NamespaceTest.hashCode(NamespaceTest.java:178)
at net.sf.saxon.trans.ComponentTest.hashCode(ComponentTest.java:76)
at java.util.HashMap.hash(HashMap.java:338)
at java.util.HashMap.put(HashMap.java:611)
at java.util.HashSet.add(HashSet.java:219)
at net.sf.saxon.style.XSLAcceptExpose.addWildCardTest(XSLAcceptExpose.java:193)
at net.sf.saxon.style.XSLAcceptExpose.prepareAttributes(XSLAcceptExpose.java:155)
at net.sf.saxon.style.StyleElement.processAttributes(StyleElement.java:588)
Added test case expose-926 to XSLT 3.0 test suite.
Please register to edit this issue
Actions