Overall a fix for bug964332 which adds proper error handling if you place an attribue in a closing tag. The change also includes:

1. Unit test for an error output when an attribute is in a closing tag.
2. Unit test for ensuring if a space follows a closing tag character this does not produce an error.
Merge pull request #423 from asaf-erlich/bug964332

Bug964332