diff options
author | Mark Wielaard <mark@klomp.org> | 2006-12-08 10:31:49 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2006-12-08 10:31:49 +0000 |
commit | 51043a0701953cd3469dabeec7757c0251b3f24d (patch) | |
tree | 25ca470cedd6cb500dfc3d1baab0f44852993828 /gnu/xml/dom/DomNode.java | |
parent | 908637946b0d2306d9f080af6af81cc6b45779eb (diff) | |
download | classpath-51043a0701953cd3469dabeec7757c0251b3f24d.tar.gz |
2006-12-06 Ben Konrath <bkonrath@redhat.com>
Fixes PR 29853.
* gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
newValue are the same.
* gnu/xml/dom/DomNode.java: Set parent if null during mutation.
2006-12-06 Chris Burdess <dog@gnu.org>
Fixes PR 29272.
* javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
* gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
2006-12-06 Chris Burdess <dog@gnu.org>
Fixes PR 29264.
* gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
writeDTD method.
2006-12-056 Chris Burdess <dog@gnu.org>
Fixes PR 28816.
* javax/xml/validation/SchemaFactory.java: Use correct algorithm to
discover schema factory implementation class.
Diffstat (limited to 'gnu/xml/dom/DomNode.java')
-rw-r--r-- | gnu/xml/dom/DomNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/xml/dom/DomNode.java b/gnu/xml/dom/DomNode.java index 269038aa7..9af3f3e54 100644 --- a/gnu/xml/dom/DomNode.java +++ b/gnu/xml/dom/DomNode.java @@ -1562,7 +1562,7 @@ public abstract class DomNode // Climb to the top of this subtree and handle capture, letting // each node (from the top down) capture until one stops it or // until we get to this one. - current = parent; + current = (parent == null) ? this : parent; if (current.depth >= ANCESTORS_INIT) { DomNode[] newants = new DomNode[current.depth + 1]; |