@federicocarboni/saxe
    Preparing search index...

    Type Alias SaxErrorName

    SaxErrorName: keyof typeof ERRORS

    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
    • InvalidComment Comment contains invalid sequence '--'
    • InvalidPi Processing instruction is not well-formed
    • ReservedPi Processing instruction target 'XML' is reserved
    • InvalidEntityRef Entity reference is not well-formed
    • RecursiveEntity Entity directly or indirectly references itself
    • UndeclaredEntity Entity is not declared
    • UnparsedEntity Entity reference to unparsed entity
    • ExternalEntity Attribute references an external entity
    • InvalidCharRef Character reference to invalid character
    • InvalidChar Content contains an invalid character
    • InvalidCDataEnd Content contains invalid sequence ']]>'
    • InvalidContent Content appears outside root element
    • InvalidStartTag Start tag is not well-formed
    • InvalidEndTag End tag is not well-formed
    • InvalidAttributeValue Attribute value contains a literal '<'
    • AttributeRedefined Attribute appears multiple times
    • TagNameMismatch End tag does not match start tag
    • UnexpectedEof Unexpected end of file
    • InvalidQName QName is not well-formed
    • InvalidNcName NCName contains colon ':'
    • UndeclaredPrefix Namespace prefix is not declared
    • PrefixUndeclaring Namespace prefix undeclaring is not supported
    • ReservedPrefix Namespace prefix starting with 'XML' is reserved
    • ReservedNamespace Namespace is reserved