XmlException with XmlErrorCode.UNEXPECTED_EOF.XmlLexerResult unexpectedEof() @safeSets the lexer to ERROR state and throws an UNEXPECTED_EOF exception.
This is called when the stream ends before a token is complete.
XmlException with XmlErrorCode.UNEXPECTED_EOF.