private void checkForbiddenTag ( IfdTags metadata , String tagName , String ext ) { int tagid = TiffTags . getTagId ( tagName ) ; if ( metadata . containsTagId ( tagid ) ) { validation . addErrorLoc ( "Forbidden tag for TiffEP found " + tagName , ext ) ; } }
Check a forbidden tag is not present .