A string that identifies a parsing or decoding error in an XML document or
entity. New error codes may be added in the future so it's not recommended
to match exhaustively against all possible values.
A comprehensive list of error codes and their meaning:
LimitExceeded A limit, imposed by default or SaxOptions, was exceeded
EncodingNotSupported Encoding not supported
EncodingInvalidData Encoded data is invalid
InvalidXmlDecl XML declaration is not well-formed
InvalidDoctypeDecl DOCTYPE declaration is not well-formed
InvalidInternalSubset Internal subset is not well-formed
A string that identifies a parsing or decoding error in an XML document or entity. New error codes may be added in the future so it's not recommended to match exhaustively against all possible values.
A comprehensive list of error codes and their meaning:
LimitExceededA limit, imposed by default orSaxOptions, was exceededEncodingNotSupportedEncoding not supportedEncodingInvalidDataEncoded data is invalidInvalidXmlDeclXML declaration is not well-formedInvalidDoctypeDeclDOCTYPE declaration is not well-formedInvalidInternalSubsetInternal subset is not well-formedInvalidCommentComment contains invalid sequence '--'InvalidPiProcessing instruction is not well-formedReservedPiProcessing instruction target 'XML' is reservedInvalidEntityRefEntity reference is not well-formedRecursiveEntityEntity directly or indirectly references itselfUndeclaredEntityEntity is not declaredUnparsedEntityEntity reference to unparsed entityExternalEntityAttribute references an external entityInvalidCharRefCharacter reference to invalid characterInvalidCharContent contains an invalid characterInvalidCDataEndContent contains invalid sequence ']]>'InvalidContentContent appears outside root elementInvalidStartTagStart tag is not well-formedInvalidEndTagEnd tag is not well-formedInvalidAttributeValueAttribute value contains a literal '<'AttributeRedefinedAttribute appears multiple timesTagNameMismatchEnd tag does not match start tagUnexpectedEofUnexpected end of fileInvalidQNameQName is not well-formedInvalidNcNameNCName contains colon ':'UndeclaredPrefixNamespace prefix is not declaredPrefixUndeclaringNamespace prefix undeclaring is not supportedReservedPrefixNamespace prefix starting with 'XML' is reservedReservedNamespaceNamespace is reserved