------- 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



_______________________________________________
Bug-classpath mailing list
Bug-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-classpath

Reply via email to