Mercurial > pub > Impl
diff Lib/IMPL/DOM/Schema/Property.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 | 76515373dac0 |
children | 2904da230022 |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/Property.pm Tue Apr 10 08:13:22 2012 +0400 +++ b/Lib/IMPL/DOM/Schema/Property.pm Tue Apr 10 20:08:29 2012 +0400 @@ -42,10 +42,10 @@ my $nodeProp = new IMPL::DOM::Node(nodeName => '::property', nodeValue => eval { $node->$prop() } || $node->nodeProperty($prop)); if ($nodeProp->nodeValue) { - # we have a value so validate it - return $this->SUPER::Validate($nodeProp,$ctx); + # we have a value so validate it + return $this->SUPER::Validate($nodeProp,$ctx); } elsif($this->minOccur) { - # we don't have a value but it's a mandatory property + # we don't have a value but it's a mandatory property return new IMPL::DOM::Schema::ValidationError( Message => $this->messageRequired, Node => $node,