private AttributeActionSet processAttributeSection(ModeUsage modeUsage,String ns,IntSet indexSet,Attributes attributes) throws SAXException {
  Mode mode=modeUsage.getMode(currentSection.context);
  AttributeActionSet actions=mode.getAttributeActions(ns);
  if (actions.getReject() && !attributeNamespaceRejected) {
    attributeNamespaceRejected=true;
    if (eh != null)     eh.error(new SAXParseException(localizer.message("reject_attribute",ns),locator));
  }
  Schema[] schemas=actions.getSchemas();
  for (int j=0; j < schemas.length; j++) {
    if (attributeSchemas.contains(schemas[j]))     continue;
    attributeSchemas.add(schemas[j]);
    if (filteredAttributes == null)     filteredAttributes=filterAttributes(indexSet,attributes);
    validateAttributes(schemas[j],filteredAttributes);
  }
  return actions;
}

private AttributeActionSet processAttributeSection ( ModeUsage modeUsage , String ns , IntSet indexSet , Attributes attributes ) throws SAXException { Mode mode = modeUsage . getMode ( currentSection . context ) ; AttributeActionSet actions = mode . getAttributeActions ( ns ) ; if ( actions . getReject ( ) && ! attributeNamespaceRejected ) { attributeNamespaceRejected = true ; if ( eh != null ) eh . error ( new SAXParseException ( localizer . message ( "reject_attribute" , ns ) , locator ) ) ; } Schema [ ] schemas = actions . getSchemas ( ) ; for ( int j = 0 ; j < schemas . length ; j ++ ) { if ( attributeSchemas . contains ( schemas [ j ] ) ) continue ; attributeSchemas . add ( schemas [ j ] ) ; if ( filteredAttributes == null ) filteredAttributes = filterAttributes ( indexSet , attributes ) ; validateAttributes ( schemas [ j ] , filteredAttributes ) ; } return actions ; }
process an attributes section in a specific mode usage .
