This file is indexed.

/usr/include/xalanc/XSLT/Constants.hpp is in libxalan-c-dev 1.11-3.

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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the  "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#if !defined(XALAN_CONSTANTS_HEADER_GUARD)
#define XALAN_CONSTANTS_HEADER_GUARD



// Base include file.  Must be first.
#include "XSLTDefinitions.hpp"



#include <xalanc/XalanDOM/XalanDOMString.hpp>



XALAN_CPP_NAMESPACE_BEGIN



/**
 * Primary constants used in the XSLTProcessor classes.
 */
class XALAN_XSLT_EXPORT Constants
{
public:

    /**
     * Perform initialization of statics -- must be called before any
     * processing occurs.  See class XSLTInit.
     */
    static void
    initialize(MemoryManager&  theManager);

    /**
     * Perform termination of statics.  See class XSLTInit.
     */
    static void
    terminate();

    /**
     * Literals for XSL element names.  Note that there are more
     * names than IDs, because some names map to the same ID.
     */
    // Result tree counting
    static const XalanDOMString&    ELEMNAME_ANY_STRING;
    static const XalanDOMString&    ELEMNAME_APPLY_IMPORTS_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_APPLY_TEMPLATES_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_ATTRIBUTESET_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_ATTRIBUTE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_CALLTEMPLATE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_CHOOSE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_COMMENT_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_COPY_OF_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_COPY_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_DECIMALFORMAT_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_ELEMENT_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_FALLBACK_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_FOREACH_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_HTML_STRING;
    static const XalanDOMString&    ELEMNAME_IF_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_IMPORT_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_INCLUDE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_KEY_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_MESSAGE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_NUMBER_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_OTHERWISE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_SORT_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_STRIPSPACE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_TEMPLATE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_TEXT_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_PARAM_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_PRESERVESPACE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_PI_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_VALUEOF_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_VARIABLE_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_WHEN_WITH_PREFIX_STRING;
    static const XalanDOMString&    ELEMNAME_WITHPARAM_WITH_PREFIX_STRING;
  
    /*---------------------------------------------
     * Literals for XSL attribute names.
     */
    static const XalanDOMString&    ATTRNAME_CASEORDER;
    static const XalanDOMString&    ATTRNAME_COUNT;
    static const XalanDOMString&    ATTRNAME_DATATYPE;
    static const XalanDOMString&    ATTRNAME_DECIMALSEPARATOR;
    static const XalanDOMString&    ATTRNAME_DEFAULT;
    static const XalanDOMString&    ATTRNAME_DEFAULTSPACE;
    static const XalanDOMString&    ATTRNAME_DIGIT;
    static const XalanDOMString&    ATTRNAME_DIGITGROUPSEP;
    static const XalanDOMString&    ATTRNAME_ELEMENTS;
    static const XalanDOMString&    ATTRNAME_ESCAPE_URLS;
    static const XalanDOMString&    ATTRNAME_EXCLUDE_RESULT_PREFIXES;
    static const XalanDOMString&    ATTRNAME_EXTENSIONELEMENTPREFIXES;
    static const XalanDOMString&    ATTRNAME_FORMAT;
    static const XalanDOMString&    ATTRNAME_FROM;
    static const XalanDOMString&    ATTRNAME_GROUPINGSEPARATOR;
    static const XalanDOMString&    ATTRNAME_GROUPINGSIZE;
    static const XalanDOMString&    ATTRNAME_HREF;
    static const XalanDOMString&    ATTRNAME_ID;
    static const XalanDOMString&    ATTRNAME_INDENTAMOUNT;
    static const XalanDOMString&    ATTRNAME_INDENTRESULT;
    static const XalanDOMString&    ATTRNAME_INFINITY;
    static const XalanDOMString&    ATTRNAME_LANG;
    static const XalanDOMString&    ATTRNAME_LETTERVALUE;
    static const XalanDOMString&    ATTRNAME_MATCH;
    static const XalanDOMString&    ATTRNAME_MINUSSIGN;
    static const XalanDOMString&    ATTRNAME_MODE;
    static const XalanDOMString&    ATTRNAME_NAME;
    static const XalanDOMString&    ATTRNAME_NAMESPACE;
    static const XalanDOMString&    ATTRNAME_NAN;
    static const XalanDOMString&    ATTRNAME_NDIGITSPERGROUP;
    static const XalanDOMString&    ATTRNAME_OMIT_META_TAG;
    static const XalanDOMString&    ATTRNAME_ORDER;
    static const XalanDOMString&    ATTRNAME_PATTERNSEPARATOR;
    static const XalanDOMString&    ATTRNAME_PERCENT;
    static const XalanDOMString&    ATTRNAME_PERMILLE;
    static const XalanDOMString&    ATTRNAME_PREFIX;
    static const XalanDOMString&    ATTRNAME_PRIORITY;
    static const XalanDOMString&    ATTRNAME_RESULTNS;
    static const XalanDOMString&    ATTRNAME_RESULT_PREFIX;
    static const XalanDOMString&    ATTRNAME_SELECT;
    static const XalanDOMString&    ATTRNAME_STYLESHEET_PREFIX;
    static const XalanDOMString&    ATTRNAME_TERMINATE;
    static const XalanDOMString&    ATTRNAME_TEST;
    static const XalanDOMString&    ATTRNAME_TYPE;
    static const XalanDOMString&    ATTRNAME_USE;
    static const XalanDOMString&    ATTRNAME_USEATTRIBUTESETS;
    static const XalanDOMString&    ATTRNAME_VALUE;
    static const XalanDOMString&    ATTRNAME_VERSION;
    static const XalanDOMString&    ATTRNAME_SPACE;
    static const XalanDOMString&    ATTRNAME_XMLSPACE;
    static const XalanDOMString&    ATTRNAME_ZERODIGIT;
 
    static const XalanDOMString&    ATTRTYPE_CDATA;

      // For space-att
    static const XalanDOMString&    ATTRVAL_PRESERVE;
    static const XalanDOMString&    ATTRVAL_STRIP;
  
      // For indent-result
    static const XalanDOMString&    ATTRVAL_YES;
    static const XalanDOMString&    ATTRVAL_NO;
  
    // Output stuff
    static const XalanDOMString&    ATTRNAME_OUTPUT_METHOD;
    static const XalanDOMString&    ATTRNAME_DISABLE_OUTPUT_ESCAPING;
    static const XalanDOMString&    ATTRNAME_OUTPUT_CDATA_SECTION_ELEMENTS;
    static const XalanDOMString&    ATTRNAME_OUTPUT_DOCTYPE_PUBLIC;
    static const XalanDOMString&    ATTRNAME_OUTPUT_DOCTYPE_SYSTEM;
    static const XalanDOMString&    ATTRNAME_OUTPUT_ENCODING;
    static const XalanDOMString&    ATTRNAME_OUTPUT_INDENT;
    static const XalanDOMString&    ATTRNAME_OUTPUT_MEDIATYPE;
    static const XalanDOMString&    ATTRNAME_OUTPUT_STANDALONE;
    static const XalanDOMString&    ATTRNAME_OUTPUT_VERSION;
    static const XalanDOMString&    ATTRNAME_OUTPUT_OMITXMLDECL;

    static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_HTML;
    static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_XML;
    static const XalanDOMString&    ATTRVAL_OUTPUT_METHOD_TEXT;

    static const XalanDOMString&    ATTRVAL_THIS;

  // Stuff for sorting
    static const XalanDOMString&    ATTRVAL_DATATYPE_TEXT;
    static const XalanDOMString&    ATTRVAL_DATATYPE_NUMBER;
    static const XalanDOMString&    ATTRVAL_ORDER_ASCENDING;
    static const XalanDOMString&    ATTRVAL_ORDER_DESCENDING;
    static const XalanDOMString&    ATTRVAL_CASEORDER_UPPER;
    static const XalanDOMString&    ATTRVAL_CASEORDER_LOWER;

    // Stuff for xsl:decimal-format...
    static const XalanDOMString&    ATTRVAL_INFINITY;
    static const XalanDOMString&    ATTRVAL_NAN;

    static const XalanDOMString&    ATTRVAL_SIMPLE;

    // Default whitespace separator string for StringTokenizer.
    static const XalanDOMString&    DEFAULT_WHITESPACE_SEPARATOR_STRING;

    // Value for default text rule
    static const XalanDOMString&    ATTRVAL_DEFAULT_TEXT_RULE;

    static const XalanDOMString&    ATTRVAL_DEFAULT;

    // For Stylesheet-prefix and result-prefix in xsl:namespace-alias 
    static const XalanDOMString&    ATTRVAL_DEFAULT_PREFIX;

    // This is used for trace reporting.
    static const XalanDOMString&    PSEUDONAME_NODE;
};



XALAN_CPP_NAMESPACE_END



#endif  // XALAN_CONSTANTS_HEADER_GUARD