comparison 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
comparison
equal deleted inserted replaced
245:7c517134c42f 246:2746a8e5a6c4
36 } 36 }
37 37
38 my $validatorLoader = Loader->new(prefix => Validator, verifyNames => 1); 38 my $validatorLoader = Loader->new(prefix => Validator, verifyNames => 1);
39 39
40 sub resolveType { 40 sub resolveType {
41 $_[0]->{$_TypesMap}->{$_[1]}; 41 $_[0]->{$_TypesMap}->{$_[1]} or die IMPL::KeyNotFoundException->new($_[1]);
42 } 42 }
43 43
44 sub CTOR { 44 sub CTOR {
45 my ($this,%args) = @_; 45 my ($this,%args) = @_;
46 46