Mercurial > pub > Impl
comparison Lib/IMPL/DOM/Schema/NodeSet.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 | 5aff94ba842f |
comparison
equal
deleted
inserted
replaced
237:61db68166c37 | 238:b8c724f6de36 |
---|---|
17 } | 17 } |
18 | 18 |
19 sub CTOR { | 19 sub CTOR { |
20 my ($this,%args) = @_; | 20 my ($this,%args) = @_; |
21 | 21 |
22 $this->messageMax( $args{messageMax} || 'Too many %Node.nodeName% nodes'); | 22 $this->messageMax( $args{messageMax} || 'Too many %node.nodeName% nodes'); |
23 $this->messageMin( $args{messageMin} || '%Schema.name% nodes expected'); | 23 $this->messageMin( $args{messageMin} || '%schema.name% nodes expected'); |
24 $this->messageUnexpected( $args{messageUnexpected} || 'A %Node.nodeName% isn\'t allowed in %Node.parentNode.path%'); | 24 $this->messageUnexpected( $args{messageUnexpected} || 'A %node.nodeName% isn\'t allowed in %node.parentNode.path%'); |
25 } | 25 } |
26 | 26 |
27 sub Validate { | 27 sub Validate { |
28 my ($this,$node,$ctx) = @_; | 28 my ($this,$node,$ctx) = @_; |
29 | 29 |