The following comment has been added to this issue:
Author: nddelima
Created: Tue, 28 Sep 2004 7:21 AM
Body:
Works for me. Can you post your Java test code to help investigate?
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XERCESJ-1013?page=comments#action_53462
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESJ-1013
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESJ-1013
Summary: Parsing a document with empty subelements leads to dissection of node
children
Type: Bug
Status: Unassigned
Priority: Critical
Project: Xerces2-J
Components:
DOM
Versions:
2.6.2
Assignee:
Reporter: Fol De Rol
Created: Tue, 28 Sep 2004 3:02 AM
Updated: Tue, 28 Sep 2004 7:21 AM
Environment: Cocoon 2.1, Axis 1.1, JDK 1.4.2_03-b02, Windows 2000, Tomcat 4.0.6
Description:
When parsing an XML document with the structure below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<result>
<element>
<subelement1>subelement1</subelement1>
<subelement2>subelement2</subelement2>
<subelement3/>
</element>
</result>
and then calling .getDocumentElement().getChildNodes() results in returning the
NodeList with the two elements like these:
1)
<element>
<subelement1>subelement1</subelement1>
<subelement2>subelement2</subelement2>
</element>
2)
<element>
<subelement3/>
</element>
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]