Do not treat hop:parent element as property when reading XML-encoded HopObject.
Fixes bug 281: http://helma.org/bugs/show_bug.cgi?id=281
This commit is contained in:
parent
b9646ab20d
commit
229236b25c
1 changed files with 7 additions and 2 deletions
|
@ -204,7 +204,12 @@ public final class XmlReader extends DefaultHandler implements XmlConstants {
|
|||
propName = qName;
|
||||
}
|
||||
|
||||
currentNode.setNode(propName, n);
|
||||
if ("hop:parent".equals(qName)) {
|
||||
// FIXME: we ought to set parent here, but we're
|
||||
// dealing with INodes, which don't have a setParent().
|
||||
} else {
|
||||
currentNode.setNode(propName, n);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue