Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.9, 2.1.10
-
None
-
Normal
-
Patch available
Description
When there are characters (white space) outside elements e.g. between the startDocument() and the first startElement the ElementProcessorSerializer thorws an NPE. This especially occurs in combination with the JXTemplateGenerator, which generates a call to the consumer's contentHandler characters method for the white space between the startDocument() and the first StartElement.
This issue is solved by the attached patch.txt
This issue is solved by the attached patch.txt