diff Lib/IMPL/DOM/Navigator/SchemaNavigator.pm @ 230:6d8092d8ce1b

*reworked IMPL::Security *reworked IMPL::Web::Security *refactoring
author sergey
date Mon, 08 Oct 2012 03:37:37 +0400
parents 4d0e1962161c
children 2904da230022
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Navigator/SchemaNavigator.pm	Sat Sep 29 02:34:47 2012 +0400
+++ b/Lib/IMPL/DOM/Navigator/SchemaNavigator.pm	Mon Oct 08 03:37:37 2012 +0400
@@ -86,7 +86,7 @@
             # return found node schema
             return $node;
         } else {
-            return undef; # abort navigation
+            return; # abort navigation
         }
     #}
 }
@@ -103,7 +103,7 @@
     if ($this->Current->isa('IMPL::DOM::Schema::SimpleType') or
         $this->Current->isa('IMPL::DOM::Schema::ComplexType')
     ) {
-        # we a redirected
+        # we are redirected
         return $this->GetNodeFromHistory(-1);
     } else {
         return $this->Current;