throw an exception when a definition doesn't provide the expected tags