private boolean notAllowedEnd ( String endTag ) { errorState = errorState && endElements . containsKey ( endTag ) && forbiddenIdEndElements . containsKey ( endTag ) ; return errorState ; }
If error with wrong id tag occurs the errorState flag will be set . In this case some end tags have to be ignored .