comparison Lib/IMPL/DOM/Schema/Validator/Compare.pm @ 108:c6fb6964de4c

Removed absolute modules Updated DOM model, selectNodes can now select a complex path Web DOM model release candidate
author wizard
date Fri, 14 May 2010 16:06:06 +0400
parents 196bf443b5e1
children a4b0a819bbda
comparison
equal deleted inserted replaced
107:0e72ad99eef7 108:c6fb6964de4c
112 112
113 $this->_targetNode($node); 113 $this->_targetNode($node);
114 114
115 my $query = $this->_pathTranslated() || $this->_pathTranslated($this->TranslatePath($this->nodePath)); 115 my $query = $this->_pathTranslated() || $this->_pathTranslated($this->TranslatePath($this->nodePath));
116 116
117 my ($foreignNode) = $node->selectPath($query); 117 my ($foreignNode) = $node->selectNodes($query);
118 118
119 my $Source = $ctx && $ctx->{Source} || $this->parentNode; 119 my $Source = $ctx && $ctx->{Source} || $this->parentNode;
120 120
121 if ($foreignNode) { 121 if ($foreignNode) {
122 my $value = $this->nodeValue; 122 my $value = $this->nodeValue;