[jdom-commits] CVS Update: jdom-contrib/src/java/org/jdom/contrib/input/scanner

nobody nobody at chimbo.servlets.com
Mon May 19 13:31:47 PDT 2003


****************************************
Date:   Mon May 19, 2003 @14:31:47 MDT
Author: 

Update of /home/cvs/jdom-contrib/src/java/org/jdom/contrib/input/scanner
In directory chimbo:/tmp/cvs-serv27055

Modified Files:
ElementScanner.java
Log Message:
Patch from Laurent:

ElementScanner notifies the listeners before forwarding the endElement
event to SAXHandler. If a listener detaches the element from its parent,
SAXHandler sets the being-built element to null (the parent), hence the
NPE reported by Xerces.

Another side effect of this bug was that the last text segment of the
element content was missing from the notified elements.

The attached patch fixes the problem.

-jh-
===================================================================
File: no file ElementScanner.java		Status: Needs Checkout

   Working revision:	1.6	Mon May 19 20:31:47 2003
   Repository revision:	1.6	/home/cvs/jdom-contrib/src/java/org/jdom/contrib/input/scanner/ElementScanner.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.5)




More information about the jdom-commits mailing list