Bug964332

Bug fix to properly write as an error message that the closing tag has an attribute and doesn't just claim it doesn't have a closing '>' character missing.