comparison Lib/IMPL/DOM/Schema/NodeList.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 648dfaf642e0
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->messageUnexpected($args{messageUnexpected} || 'A %Node.nodeName% isn\'t allowed in %Node.parentNode.path%'); 22 $this->messageUnexpected($args{messageUnexpected} || 'A %node.nodeName% isn\'t allowed in %node.parentNode.path%');
23 $this->messageNodesRequired($args{messageNodesRequired} || 'A %Schema.name% is required in the node %Parent.path%'); 23 $this->messageNodesRequired($args{messageNodesRequired} || 'A %schema.name% is required in the node %parent.path%');
24 } 24 }
25 25
26 sub Validate { 26 sub Validate {
27 my ($this,$node,$ctx) = @_; 27 my ($this,$node,$ctx) = @_;
28 28