diff Lib/IMPL/DOM/Schema/Property.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 0f59b2de72af
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/Property.pm	Mon Oct 15 17:39:12 2012 +0400
+++ b/Lib/IMPL/DOM/Schema/Property.pm	Tue Oct 16 01:33:06 2012 +0400
@@ -21,7 +21,7 @@
         $args{maxOccur} = 1;
         $args{minOccur} = delete $args{optional} ? 0 : 1;
         $args{nodeName} ||= 'Property';
-        $args{messageInflateError} ||= "Failed to inflate a property '%Schema.name%' of a node '%Node.path%': %Error.Message%";
+        $args{messageInflateError} ||= "Failed to inflate a property '%schema.name%' of a node '%node.path%': %error.message%";
         
         return %args;
     }
@@ -30,7 +30,7 @@
 sub CTOR {
     my ($this,%args) = @_;
     
-    $this->messageRequired($args{messageRequired} || 'A property %Schema.name% is required in the %Node.qname%');
+    $this->messageRequired($args{messageRequired} || 'A property %schema.name% is required in the %node.qname%');
 }
 
 sub Validate {