diff Lib/IMPL/DOM/Navigator/SchemaNavigator.pm @ 194:4d0e1962161c

Replaced tabs with spaces IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author cin
date Tue, 10 Apr 2012 20:08:29 +0400
parents d1676be8afcc
children 6d8092d8ce1b
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Navigator/SchemaNavigator.pm	Tue Apr 10 08:13:22 2012 +0400
+++ b/Lib/IMPL/DOM/Navigator/SchemaNavigator.pm	Tue Apr 10 20:08:29 2012 +0400
@@ -59,7 +59,7 @@
                 )
             })
         ) {
-        	$steps ++;
+            $steps ++;
             if ($node->nodeName eq 'AnyNode') {
                 # if we navigate to the anynode
                 # assume it to be ComplexType by default
@@ -98,16 +98,16 @@
 }
 
 sub SourceSchemaNode {
-	my ($this) = @_;
-	
-	if ($this->Current->isa('IMPL::DOM::Schema::SimpleType') or
-		$this->Current->isa('IMPL::DOM::Schema::ComplexType')
-	) {
-		# we a redirected
-		return $this->GetNodeFromHistory(-1);
-	} else {
-		return $this->Current;
-	}
+    my ($this) = @_;
+    
+    if ($this->Current->isa('IMPL::DOM::Schema::SimpleType') or
+        $this->Current->isa('IMPL::DOM::Schema::ComplexType')
+    ) {
+        # we a redirected
+        return $this->GetNodeFromHistory(-1);
+    } else {
+        return $this->Current;
+    }
 }
 
 1;