diff Lib/IMPL/Resources/Format.pm @ 148:e6447ad85cb4

DOM objects now have a schema and schemaSource properties RegExp now can launder data Improved post to DOM transformation (multiple values a now supported) Added new axes to navigation queries: ancestor and descendant minor changes and bug fixes
author wizard
date Mon, 16 Aug 2010 08:26:44 +0400
parents 196bf443b5e1
children 4d0e1962161c
line wrap: on
line diff
--- a/Lib/IMPL/Resources/Format.pm	Mon Aug 09 08:45:36 2010 +0400
+++ b/Lib/IMPL/Resources/Format.pm	Mon Aug 16 08:26:44 2010 +0400
@@ -9,6 +9,7 @@
 sub FormatMessage {
     my ($string,$args,$resolver) = @_;
     
+    $args ||= {};
     $resolver ||= \&_defaultResolver;
     
     $string =~ s/%(\w+(?:\.\w+)*)%/_getvalue($args,$1,"\[$1\]",$resolver)/ge;