This file is indexed.

/usr/include/xercesc/util/XMLDOMMsg.hpp is in libxerces-c-dev 3.2.0+debian-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
// This file is generated, don't edit it!!

#if !defined(XERCESC_INCLUDE_GUARD_ERRHEADER_XMLDOMMsg)
#define XERCESC_INCLUDE_GUARD_ERRHEADER_XMLDOMMsg

#include <xercesc/framework/XMLErrorReporter.hpp>
#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/dom/DOMError.hpp>

XERCES_CPP_NAMESPACE_BEGIN

class XMLDOMMsg
{
public :
    enum Codes
    {
        NoError                            = 0
      , F_LowBounds                        = 1
      , DOMEXCEPTION_ERRX                  = 2
      , INDEX_SIZE_ERR                     = 3
      , DOMSTRING_SIZE_ERR                 = 4
      , HIERARCHY_REQUEST_ERR              = 5
      , WRONG_DOCUMENT_ERR                 = 6
      , INVALID_CHARACTER_ERR              = 7
      , NO_DATA_ALLOWED_ERR                = 8
      , NO_MODIFICATION_ALLOWED_ERR        = 9
      , NOT_FOUND_ERR                      = 10
      , NOT_SUPPORTED_ERR                  = 11
      , INUSE_ATTRIBUTE_ERR                = 12
      , INVALID_STATE_ERR                  = 13
      , SYNTAX_ERR                         = 14
      , INVALID_MODIFICATION_ERR           = 15
      , NAMESPACE_ERR                      = 16
      , INVALID_ACCESS_ERR                 = 17
      , VALIDATION_ERR                     = 18
      , TYPE_MISMATCH_ERR                  = 19
      , DOMRANGEEXCEPTION_ERRX             = 20
      , BAD_BOUNDARYPOINTS_ERR             = 21
      , INVALID_NODE_TYPE_ERR              = 22
      , DOMLSEXCEPTION_ERRX                = 23
      , PARSE_ERR                          = 24
      , SERIALIZE_ERR                      = 25
      , DOMXPATHEXCEPTION_ERRX             = 26
      , INVALID_EXPRESSION_ERR             = 27
      , TYPE_ERR                           = 28
      , NO_RESULT_ERR                      = 29
      , Writer_NestedCDATA                 = 30
      , Writer_NotRepresentChar            = 31
      , Writer_NotRecognizedType           = 32
      , LSParser_ParseInProgress           = 33
      , LSParser_ParsingAborted            = 34
      , LSParser_ParsingFailed             = 35
      , F_HighBounds                       = 36
      , W_LowBounds                        = 37
      , W_HighBounds                       = 38
      , E_LowBounds                        = 39
      , E_HighBounds                       = 40
    };

    static bool isFatal(const XMLDOMMsg::Codes toCheck)
    {
        return ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds));
    }

    static bool isWarning(const XMLDOMMsg::Codes toCheck)
    {
        return ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds));
    }

    static bool isError(const XMLDOMMsg::Codes toCheck)
    {
        return ((toCheck >= E_LowBounds) && (toCheck <= E_HighBounds));
    }

    static XMLErrorReporter::ErrTypes errorType(const XMLDOMMsg::Codes toCheck)
    {
       if ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds))
           return XMLErrorReporter::ErrType_Warning;
       else if ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds))
            return XMLErrorReporter::ErrType_Fatal;
       else if ((toCheck >= E_LowBounds) && (toCheck <= E_HighBounds))
            return XMLErrorReporter::ErrType_Error;
       return XMLErrorReporter::ErrTypes_Unknown;
    }
    static DOMError::ErrorSeverity  DOMErrorType(const XMLDOMMsg::Codes toCheck)
    {
       if ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds))
           return DOMError::DOM_SEVERITY_WARNING;
       else if ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds))
            return DOMError::DOM_SEVERITY_FATAL_ERROR;
       else return DOMError::DOM_SEVERITY_ERROR;
    }

private:
    // -----------------------------------------------------------------------
    //  Unimplemented constructors and operators
    // -----------------------------------------------------------------------
    XMLDOMMsg();
};

XERCES_CPP_NAMESPACE_END

#endif