Fix XML Parsing Bugs When Unexpected Endtag Occurs

There were a couple of bugs in what appears to have been a poorly tested code path, which occurs when parsing a unexpected end tag and Options.XmlTags is true. The reporting of the error was not passing the right parameters into String.Format, and the parser was logging an error instead of a warning, despite the fact that it corrects the error and continues parsing successfully.