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 xe...@xml.apache.org on 2004/09/28 12:03:31 UTC
[jira] Created: (XERCESJ-1013) Parsing a document with empty subelements leads to dissection of node children
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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 3:02 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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
[jira] Commented: (XERCESJ-1013) Parsing a document with empty subelements leads to dissection of node children
Posted by xe...@xml.apache.org.
The following comment has been added to this issue:
Author: Fol De Rol
Created: Tue, 28 Sep 2004 8:10 AM
Body:
I am very sorry. I've just written a pure sample that discovered that it is my fault, not Xerces's.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XERCESJ-1013?page=comments#action_53467
---------------------------------------------------------------------
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 8:10 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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
[jira] Closed: (XERCESJ-1013) Parsing a document with empty subelements leads to dissection of node children
Posted by xe...@xml.apache.org.
Message:
The following issue has been closed.
---------------------------------------------------------------------
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: Closed
Priority: Critical
Resolution: CANNOT REPRODUCE
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 8:34 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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
[jira] Commented: (XERCESJ-1013) Parsing a document with empty subelements leads to dissection of node children
Posted by xe...@xml.apache.org.
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org