code: public void templateNameVerification(String expectedName)
  			throws SyntaxException {
  
  		if (!name.equals(expectedName)) {
  			throw SyntaxException.create(null, source, MSG_MISNAMED_TPL,
  					expectedName);
  		}
  	}
docs: Check that the internal template name matches the expected template name.
  
  @param expectedName
  expected name of the compiled template