int lgth = attributes.size();
if (attNames.length != lgth) {
String[] newAttNames = new String[lgth];
Enumeration<AAttribute> enumeration = attributes.elements();
AAttribute aAttribute = null;
int position = 0;
while (enumeration.hasMoreElements()) {
aAttribute = enumeration.nextElement();
if (aAttribute != null) {
newAttNames[position] = aAttribute.getName().toLowerCase();
position++;
}
}
attNames = newAttNames;
}