You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/12 23:19:54 UTC
[jira] Updated: (XERCERJ-216) NodeIterator
The following issue has been updated:
Updater: Serge Knystautas (mailto:sergek@lokitech.com)
Date: Mon, 12 Apr 2004 2:18 PM
Changes:
Attachment changed from sample.xml
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/XERCERJ-216?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCERJ-216
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCERJ-216
Summary: NodeIterator
Type: Bug
Status: Resolved
Resolution: FIXED
Project: Xerces2-J
Assignee: Xerces-J Developers Mailing List
Reporter: Joe Kesselman
Created: Tue, 5 Mar 2002 9:13 PM
Updated: Mon, 12 Apr 2004 2:18 PM
Environment: Operating System: Windows NT/2K
Platform: PC
Description:
Running a NodeIterator-based "find and patch" loop (strip whitespace off text
nodes, remove the nodes if completely empty), I'm getting a null pointer
exception when retrieving a returned node's parent. I haven't yet traced into
NodeIterator to diagnose in detail, but this definitely isn't right.
I'll attach a sample example. Run it as "java keshlam4 <sample.xml". The
comments, and a commented-out section of code, mention another unexpected
result. NodeIterator's intended respose to document mutation is fairly subtle,
but I think that's also a bug, quite possibly the same bug.
(I hope it's a quick fix; this is intended to be sample code for an article. I
can live without a NodeIterator illustration, but I'd rather not.)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org