cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Berens (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-1976) [PATCH] NPE in POI ElementProcessorSerializer for characters between startDocument and first StartElement
Date Wed, 03 Jan 2007 10:41:27 GMT
[PATCH] NPE in POI ElementProcessorSerializer for characters between startDocument and first
StartElement
---------------------------------------------------------------------------------------------------------

                 Key: COCOON-1976
                 URL: https://issues.apache.org/jira/browse/COCOON-1976
             Project: Cocoon
          Issue Type: Bug
          Components: Blocks: POI
    Affects Versions: 2.1.10, 2.1.9, 2.1.11-dev (current SVN), 2.2-dev (Current SVN)
            Reporter: Rob Berens


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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message