Throw an exception if parsing did not finish in +[elementWithString:].