Mercurial > pub > Impl
comparison Lib/IMPL/DOM/Schema.pm @ 103:c289ed9662ca
Schema beta 2
More strict validation, support for inflating a simple nodes and properties
author | wizard |
---|---|
date | Fri, 07 May 2010 18:17:40 +0400 |
parents | cf3b6ef2be22 |
children | 196bf443b5e1 |
comparison
equal
deleted
inserted
replaced
102:cf3b6ef2be22 | 103:c289ed9662ca |
---|---|
27 | 27 |
28 BEGIN { | 28 BEGIN { |
29 private _direct property _TypesMap => prop_all; | 29 private _direct property _TypesMap => prop_all; |
30 public _direct property baseDir => prop_all; | 30 public _direct property baseDir => prop_all; |
31 public _direct property BaseSchemas => prop_get | owner_set; | 31 public _direct property BaseSchemas => prop_get | owner_set; |
32 private _direct property _Validators => prop_all; | |
33 } | 32 } |
34 | 33 |
35 sub resolveType { | 34 sub resolveType { |
36 $_[0]->{$_TypesMap}->{$_[1]}; | 35 $_[0]->{$_TypesMap}->{$_[1]}; |
37 } | 36 } |