smartxml: fix DocumentNode.parent