Update of /cvsroot/flexml/flexml
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv1795
Modified Files:
flexml.pl
Log Message:
Fix/test sourceforge bug #1558023: validation failing for missing #REQUIRED attributes.
Index: flexml.pl
===================================================================
RCS file: /cvsroot/flexml/flexml/flexml.pl,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- flexml.pl 12 Sep 2006 18:05:45 -0000 1.60
+++ flexml.pl 13 Sep 2006 16:34:33 -0000 1.61
@@ -1455,7 +1455,7 @@
print " \">\" {\n";
for my $attribute (@myattributes) {
if ($required{"$tag/$attribute"}) {
- print " if (!A_${tagprefix}$ctag{$tag}_" . variablify($attribute) . ")"
+ print " if (!AX_${tagprefix}$ctag{$tag}_" . variablify($attribute) . ")"
. " FAIL(\"Required attribute `$attribute' not set for `$tag' element.\");\n";
}
}
@@ -1470,7 +1470,7 @@
print " \"/>\" {\n";
for my $attribute (@myattributes) {
if ($required{"$tag/$attribute"}) {
- print " if (!A_${tagprefix}$ctag{$tag}_" . variablify($attribute) . ")"
+ print " if (!AX_${tagprefix}$ctag{$tag}_" . variablify($attribute) . ")"
. " FAIL(\"Required attribute `$attribute' not set for `$tag' element.\");\n";
}
}
|