Mercurial > pub > Impl
comparison Lib/IMPL/DOM/Schema/SimpleNode.pm @ 238:b8c724f6de36
DOM model refactoring
TT view refactoring, controls are no longer derived from DOM nodes
bugfixes
author | sergey |
---|---|
date | Tue, 16 Oct 2012 01:33:06 +0400 |
parents | 4d0e1962161c |
children | 814d755e5d12 |
comparison
equal
deleted
inserted
replaced
237:61db68166c37 | 238:b8c724f6de36 |
---|---|
24 sub CTOR { | 24 sub CTOR { |
25 my ($this,%args) = @_; | 25 my ($this,%args) = @_; |
26 | 26 |
27 if ( $args{inflator} ) { | 27 if ( $args{inflator} ) { |
28 $this->{$inflator} = $args{inflator} ; | 28 $this->{$inflator} = $args{inflator} ; |
29 $this->{$messageInflateError} = exists $args{messageInflateError} ? $args{messageInflateError} : 'Failed to inflate nodeValue %Node.path%: %Error%'; | 29 $this->{$messageInflateError} = exists $args{messageInflateError} ? $args{messageInflateError} : 'Failed to inflate nodeValue %node.path%: %error%'; |
30 } | 30 } |
31 } | 31 } |
32 | 32 |
33 sub Validate { | 33 sub Validate { |
34 my ($this,$node,$ctx) = @_; | 34 my ($this,$node,$ctx) = @_; |