Mercurial > pub > Impl
diff Lib/IMPL/DOM/Schema/SimpleType.pm @ 236:2904da230022
DOM refactoring
author | sergey |
---|---|
date | Mon, 15 Oct 2012 04:23:01 +0400 |
parents | 4d0e1962161c |
children | b8c724f6de36 |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/SimpleType.pm Fri Oct 12 02:08:51 2012 +0400 +++ b/Lib/IMPL/DOM/Schema/SimpleType.pm Mon Oct 15 04:23:01 2012 +0400 @@ -36,10 +36,10 @@ if ($this->{$nativeType}) { return new IMPL::DOM::Schema::ValidationError( - Node => $node, - Source => $ctx && $ctx->{Source} || $this, - Schema => $this, - Message => $this->messageWrongType + node => $node, + source => $ctx && $ctx->{Source} || $this, + schema => $this, + message => $this->messageWrongType ) unless $node->isa($this->{$nativeType}); } return $this->SUPER::Validate($node,$ctx);