private void checkNoMoreAtts(Atts atts) throws RDFParseException {
  if (atts.size() > 0) {
    Iterator<Att> iter=atts.iterator();
    while (iter.hasNext()) {
      Att att=iter.next();
      reportError("unexpected attribute '" + att.getQName() + "'",XMLParserSettings.FAIL_ON_NON_STANDARD_ATTRIBUTES);
      iter.remove();
    }
  }
}

private void checkNoMoreAtts ( Atts atts ) throws RDFParseException { if ( atts . size ( ) > 0 ) { Iterator < Att > iter = atts . iterator ( ) ; while ( iter . hasNext ( ) ) { Att att = iter . next ( ) ; reportError ( "unexpected attribute '" + att . getQName ( ) + "'" , XMLParserSettings . FAIL_ON_NON_STANDARD_ATTRIBUTES ) ; iter . remove ( ) ; } } }
checks whether ' atts ' is empty . if this is not the case , a warning is generated for each attribute that is still present .
