Mercurial > pub > Impl
comparison Lib/IMPL/DOM/Schema/SimpleType.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 | 2904da230022 |
children | 4ddb27ff4a0b |
comparison
equal
deleted
inserted
replaced
237:61db68166c37 | 238:b8c724f6de36 |
---|---|
26 | 26 |
27 sub CTOR { | 27 sub CTOR { |
28 my ($this,%args) = @_; | 28 my ($this,%args) = @_; |
29 | 29 |
30 $this->{$nativeType} = $args{nativeType} if $args{nativeType}; | 30 $this->{$nativeType} = $args{nativeType} if $args{nativeType}; |
31 $this->{$messageWrongType} = $args{messageWrongType} || "A simple node '%Node.path%' is expected to be %Schema.nativeType%"; | 31 $this->{$messageWrongType} = $args{messageWrongType} || "A simple node '%node.path%' is expected to be %schema.nativeType%"; |
32 } | 32 } |
33 | 33 |
34 sub Validate { | 34 sub Validate { |
35 my ($this, $node, $ctx) = @_; | 35 my ($this, $node, $ctx) = @_; |
36 | 36 |