r1327@bean (orig r1272):  ser | 2007-07-28 08:59:50 -0400
  r1325@bean:  ser | 2007-07-28 08:55:47 -0400
  Adds a unit test for ticket:95, which also exhibits the bug fixed by
  changeset:1271
1 files changed, 8 insertions(+), 0 deletions(-)

M test/core_test.rb
M test/core_test.rb +8 -0
@@ 1266,4 1266,12 @@ ENDXML
     p.write(d,out="")
     assert_equal( expected, out )
   end
+
+  def test_ticket_95
+    testd = REXML::Document.new "<a><b><c/><c/><c/></b></a>"
+    testd.write(out1="")
+    testd.elements["//c[2]"].xpath
+    testd.write(out2="")
+    assert_equal(out1,out2)
+  end
 end