int index = Arrays.binarySearch(SchemaBase.ELEMENT_NAMES, name);
if (index >= 0) {
// check the type of element
long mask = SchemaBase.ELEMENT_MASKS[index];
StringArray attrs = null;
if ((mask & s_namedIgnorableValueMask) != 0) {
attrs = s_namedIgnorableValueAttributes;
} else if ((mask & s_namedValueMask) != 0) {
attrs = s_namedValueAttributes;
} else if ((mask & s_unnamedValueMask) != 0) {