* @param name
* The tag to be ending.
*/
public void endTag(final String name) {
if (!this.tagStack.peek().equals(name)) {
throw new ParseError( "End tag mismatch, should be ending: "
+ this.tagStack.peek() + ", but trying to end: " + name
+ ".");
} else {
endTag();