comparison Lib/IMPL/DOM/Schema.pm @ 245:7c517134c42f

Added Unsupported media type Web exception corrected resourceLocation setting in the resource Implemented localizable resources for text messages fixed TT view scopings, INIT block in controls now sets globals correctly.
author sergey
date Mon, 29 Oct 2012 03:15:22 +0400
parents 5c82eec23bb6
children 2746a8e5a6c4
comparison
equal deleted inserted replaced
244:a02b110da931 245:7c517134c42f
107 107
108 $schema->baseDir($dir); 108 $schema->baseDir($dir);
109 109
110 my @errors = $class->MetaSchema->Validate($schema); 110 my @errors = $class->MetaSchema->Validate($schema);
111 111
112 die new IMPL::Exception("Schema is invalid",$file,map( $_->Message, @errors ) ) if @errors; 112 die new IMPL::Exception("Schema is invalid",$file,map( $_->message, @errors ) ) if @errors;
113 113
114 $schema->Process; 114 $schema->Process;
115 115
116 return $schema; 116 return $schema;
117 } 117 }