diff Lib/IMPL/DOM/Navigator.pm @ 122:a7efb3117295

Fixed bug in IMPL::DOM::Navigator::selectNodes Fixed bug in IMPL::DOM::Node::selectNodes renamed operator 'type' to 'typeof' in IMPL::Object::Abstract A proper implementation of the IMPL::DOM::Node::nodeProperty and a related changes in the IMPL::DOM::Property module, now the last is very simple.
author wizard
date Tue, 08 Jun 2010 20:12:45 +0400
parents 196bf443b5e1
children 76515373dac0
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Navigator.pm	Tue Jun 08 03:38:10 2010 +0400
+++ b/Lib/IMPL/DOM/Navigator.pm	Tue Jun 08 20:12:45 2010 +0400
@@ -70,18 +70,7 @@
 sub selectNodes {
     my ($this,@path) = @_;
     
-    return internalSelectNodes($this->Current,@path);
-}
-
-sub internalSelectNodes {
-    my $node = shift;
-    my $query = shift;
-    
-    if (@_) {
-        return map internalSelectNodes($_,@_), $node->selectNodes($query);
-    } else {
-        return $node->selectNodes($query);
-    }
+    return $this->Current->selectNodes(@path);
 }
 
 sub internalNavigateNodeSet {