Actions
Bug #2491
closedNPE in class Whitespace
Start date:
2015-11-04
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
According to the Javadoc on the SAX method "org.xml.sax.ContentHandler.processingInstruction(String, String)" the processing instruction "data" part can also be NULL. So if the Saxon receiving content handler is called with NULL data value, it should not throw a NPE.
[filter] java.lang.NullPointerException
[filter] at net.sf.saxon.value.Whitespace.removeLeadingWhitespace(Whitespace.java:137)
[filter] at net.sf.saxon.event.ReceivingContentHandler.processingInstruction(ReceivingContentHandler.java:507)
[filter] at org.dita.dost.module.DebugAndFilterModule$DTDForwardHandler.startDTD(DebugAndFilterModule.java:756)
[filter] at org.apache.xerces.parsers.AbstractSAXParser.doctypeDecl(Unknown Source)
Please register to edit this issue
Actions