while (index < chars.length && isXMLNameCharacter(chars[index])) {
index++;
}
String attrName = new String(chars, start, index-start);
// and compose the attribute part
AttributePart part = new AttributePart(attrName);
partList.add(part);
continue;
}
// else, check if it is an element