OSDN Git Service

Fix Node.getNextSibling bounds checking.
authorElliott Hughes <enh@google.com>
Thu, 24 Sep 2009 00:01:24 +0000 (17:01 -0700)
committerElliott Hughes <enh@google.com>
Fri, 25 Sep 2009 18:03:05 +0000 (11:03 -0700)
commit5894bfbbbee7f9cd5b3b33e628c7d0291e2ece79
tree5e3f0faaf39369469c5a8dca0c127aef23e43ded
parent0be7d6d2b9a0d58a327541ac9f3c37b7731f6d90
Fix Node.getNextSibling bounds checking.

Obvious copy & paste error in InnerNodeImpl compared to LeafNodeImpl, plus
new test.

I've also fixed a typo that annoys me whenever I look at the XML test results,
and removed a KnownFailure for a test that passes (and has been passing for
some time).

Bug: 779
libcore/xml/src/main/java/org/apache/harmony/xml/dom/InnerNodeImpl.java
libcore/xml/src/test/java/tests/api/javax/xml/parsers/DocumentBuilderTest.java
libcore/xml/src/test/java/tests/api/javax/xml/parsers/SAXParserTestSupport.java
libcore/xml/src/test/java/tests/xml/AllTests.java
libcore/xml/src/test/java/tests/xml/NodeTests.java [new file with mode: 0644]