Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-5
-
None
Description
If you build a node tree from
<root>
<first>
<second/>
</first>
</root>
and then do
node = tree.depthFirst()
node['second'] returns a list of one element
node['first'] returns an empty list
this is because the root element isn't in the list returned by depthFirst() or breadthFirst()