question: 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 ( ) ; } } }
target:  Checks whether 'atts' is empty. If this is not the case, a warning is generated for each attribute that is still present.