check_column (name);
if (attributes.length % 2 != 0) {
- attributes.resize (attributes.length+1);
- attributes[attributes.length-1] = "";
+ warning ("Given attributes array is not a list of pairs (name and value)");
+ // This only effects array length of this in-parameter in this scope
+ attributes.length -= 1;
}
var content = new StringBuilder ("<");
check_column (name);
if (attributes.length % 2 != 0) {
- attributes.resize (attributes.length+1);
- attributes[attributes.length-1] = "";
+ warning ("Given attributes array is not a list of pairs (name and value)");
+ // This only effects array length of this in-parameter in this scope
+ attributes.length -= 1;
}
var content = new StringBuilder ("<");