Actions
Bug #1834
closedClassCastException in XdmNode.getParent()
Start date:
2013-06-28
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
In SaxonHE 9.5.1.1, if you have an XdmNode that has no parent and you
call getParent(), you get a class cast exception in:
public XdmNode getParent() {
return (XdmNode) XdmValue.wrap(getUnderlyingNode().getParent());
}
The problem is that getUnderlyingNode().getParent() returns the
instance of the XdmEmptySequence and that's not castable to XdmNode.
Be seeing you,
norm
Please register to edit this issue
Actions