Mercurial > pub > Impl
diff Lib/IMPL/DOM/Schema/ComplexType.pm @ 125:a4b0a819bbda
Small fixes in IMPL::DOM::Schema
author | wizard |
---|---|
date | Thu, 10 Jun 2010 17:43:51 +0400 |
parents | e30bdd040fe3 |
children | 1e7f03414b65 |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/ComplexType.pm Thu Jun 10 02:45:59 2010 +0400 +++ b/Lib/IMPL/DOM/Schema/ComplexType.pm Thu Jun 10 17:43:51 2010 +0400 @@ -36,7 +36,7 @@ if ($this->{$nativeType}) { return new IMPL::DOM::Schema::ValidationError( Node => $node, - Source => $ctx && $ctx->{Source} || $this, + Source => $ctx->{Source} || $this, Schema => $this, Message => $this->messageWrongType ) unless $node->isa($this->{$nativeType});