Index: openacs-4/packages/imsld/catalog/imsld.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/imsld/catalog/imsld.en_US.ISO-8859-1.xml,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/imsld/catalog/imsld.en_US.ISO-8859-1.xml 14 Nov 2005 17:33:45 -0000 1.6
+++ openacs-4/packages/imsld/catalog/imsld.en_US.ISO-8859-1.xml 15 Nov 2005 08:54:38 -0000 1.7
@@ -145,14 +145,14 @@
The referenced role part in 'when role part completed' of the act %identifier% does not exist
The resource %resource_identifier% has a reference to a non existing file (%resource_href%).
There can't be less than %multiplicity% %element_name% and there are %tree_length%. This is not supported, sorry.
- There can't greather than $multiplicity $element_name and there are [llength $tree]. This is not supported, sorry.
+ There can't greather than %multiplicity% %element_name% and there are %tree_length%. This is not supported, sorry.
There is no role with the identifier %role_ref% (referenced by an email data)
There is no role with the identifier %role_ref% (referenced by: manager)
There is no role with the identifier %role_ref% (referenced by: participant)
There is no role with the identifier %role_ref% (referenced by: observer)
There is no role with the identifier %role_ref% (referenced by: moderator)
There is no role with the identifier %ref% (referenced by: support activity)
- There must be exactly $multiplicity $element_name and there are [llength $tree]. This is not supported, sorry.
+ There must be exactly %multiplicity% %element_name% and there are %tree_length%. This is not supported, sorry.
There was an error creating the folder. Aborting.
There was an error creating the tmp_dir to unzip the file.
There was an error generating the tmp_dir to unzip the file.
Index: openacs-4/packages/imsld/tcl/imsld-parse-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/imsld/tcl/imsld-parse-procs.tcl,v
diff -u -r1.13 -r1.14
--- openacs-4/packages/imsld/tcl/imsld-parse-procs.tcl 14 Nov 2005 09:14:09 -0000 1.13
+++ openacs-4/packages/imsld/tcl/imsld-parse-procs.tcl 15 Nov 2005 08:54:38 -0000 1.14
@@ -245,19 +245,19 @@
set equal_p 1
}
+ set tree_length [llength $tree]
if { $equal_p } {
- if { [llength $tree] != $multiplicity } {
+ if { $tree_length != $multiplicity } {
ad_return_error "[_ imsld.Error_parsing_file]" "[_ imsld.lt_There_must_be_exactly]"
ad_script_abort
}
} elseif { $greather_than_p } {
- if { [llength $tree] < $multiplicity } {
- set tree_length [llength $tree]
+ if { $tree_length < $multiplicity } {
ad_return_error "[_ imsld.Error_parsing_file]" "[_ imsld.lt_There_cant_be_less_th]"
ad_script_abort
}
} else {
- if { [llength $tree] > $multiplicity } {
+ if { $tree_length > $multiplicity } {
ad_return_error "[_ imsld.Error_parsing_file]" "[_ imsld.lt_There_cant_greather_t]"
ad_script_abort
}