Mercurial > pub > Impl
diff Lib/IMPL/DOM/Schema.pm @ 246:2746a8e5a6c4
Fixed regressions in DOM due previous refactorings
Fixed ObjectToDOM transformation to handle a schema with mixed node types
author | sergey |
---|---|
date | Tue, 30 Oct 2012 01:17:31 +0400 |
parents | 7c517134c42f |
children | 129e48bb5afb |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema.pm Mon Oct 29 03:15:22 2012 +0400 +++ b/Lib/IMPL/DOM/Schema.pm Tue Oct 30 01:17:31 2012 +0400 @@ -38,7 +38,7 @@ my $validatorLoader = Loader->new(prefix => Validator, verifyNames => 1); sub resolveType { - $_[0]->{$_TypesMap}->{$_[1]}; + $_[0]->{$_TypesMap}->{$_[1]} or die IMPL::KeyNotFoundException->new($_[1]); } sub CTOR {