bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug xml/27864] Wrong number of entries returned for getElementsByTagNam


From: thebohemian at gmx dot net
Subject: [Bug xml/27864] Wrong number of entries returned for getElementsByTagName() in special case
Date: 1 Jun 2006 16:26:02 -0000


------- Comment #2 from thebohemian at gmx dot net  2006-06-01 16:26 -------
Created an attachment (id=11573)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11573&action=view)
a beanshell script which demonstrates the problem

This beanshell scripts demonstrates the problem. Put the script and the XML
file in one directory and run it like this:

$VM -cp $PATH_TO/bsh.jar bsh.Interpreter
< type source("testxml"); >
< type wrongo(); >

On GNU Classpath it will output:

<element>-tag[0] has 2 <sometimesThere> child elements.
<element>-tag[1] has 1 <sometimesThere> child elements.
<element>-tag[2] has 1 <sometimesThere> child elements.

On the RI it is:

<element>-tag[0] has 0 <sometimesThere> child elements.
<element>-tag[1] has 1 <sometimesThere> child elements.
<element>-tag[2] has 1 <sometimesThere> child elements.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27864





reply via email to

[Prev in Thread] Current Thread [Next in Thread]