/usr/include/xercesc/util/XMLUni.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 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 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | /*
* 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.
*/
/*
* $Id: XMLUni.hpp 1798755 2017-06-14 20:54:41Z rleigh $
*/
// ---------------------------------------------------------------------------
// This file contains the grunt work constants for Unicode characters and
// common Unicode constant strings. These cannot be created normally because
// we have to compile on systems that cannot do the L"" style prefix. So
// they must be created as constant values for Unicode code points and the
// strings built up as arrays of those constants.
// ---------------------------------------------------------------------------
#if !defined(XERCESC_INCLUDE_GUARD_XMLUNI_HPP)
#define XERCESC_INCLUDE_GUARD_XMLUNI_HPP
#include <xercesc/util/XercesDefs.hpp>
XERCES_CPP_NAMESPACE_BEGIN
// Ignore warning about private constructor
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
#endif
class XMLUTIL_EXPORT XMLUni
{
public :
// -----------------------------------------------------------------------
// These are constant strings that are common in XML data. Because
// of the limitation of the compilers we have to work with, these are
// done as arrays of XMLCh characters, not as constant strings.
// -----------------------------------------------------------------------
static const XMLCh fgAnyString[];
static const XMLCh fgAttListString[];
static const XMLCh fgCommentString[];
static const XMLCh fgCDATAString[];
static const XMLCh fgDefaultString[];
static const XMLCh fgDocTypeString[];
static const XMLCh fgEBCDICEncodingString[];
static const XMLCh fgElemString[];
static const XMLCh fgEmptyString[];
static const XMLCh fgEncodingString[];
static const XMLCh fgEntitString[];
static const XMLCh fgEntityString[];
static const XMLCh fgEntitiesString[];
static const XMLCh fgEnumerationString[];
static const XMLCh fgExceptDomain[];
static const XMLCh fgFixedString[];
static const XMLCh fgIBM037EncodingString[];
static const XMLCh fgIBM037EncodingString2[];
static const XMLCh fgIBM1047EncodingString[];
static const XMLCh fgIBM1047EncodingString2[];
static const XMLCh fgIBM1140EncodingString[];
static const XMLCh fgIBM1140EncodingString2[];
static const XMLCh fgIBM1140EncodingString3[];
static const XMLCh fgIBM1140EncodingString4[];
static const XMLCh fgIESString[];
static const XMLCh fgIDString[];
static const XMLCh fgIDRefString[];
static const XMLCh fgIDRefsString[];
static const XMLCh fgImpliedString[];
static const XMLCh fgIgnoreString[];
static const XMLCh fgIncludeString[];
static const XMLCh fgISO88591EncodingString[];
static const XMLCh fgISO88591EncodingString2[];
static const XMLCh fgISO88591EncodingString3[];
static const XMLCh fgISO88591EncodingString4[];
static const XMLCh fgISO88591EncodingString5[];
static const XMLCh fgISO88591EncodingString6[];
static const XMLCh fgISO88591EncodingString7[];
static const XMLCh fgISO88591EncodingString8[];
static const XMLCh fgISO88591EncodingString9[];
static const XMLCh fgISO88591EncodingString10[];
static const XMLCh fgISO88591EncodingString11[];
static const XMLCh fgISO88591EncodingString12[];
static const XMLCh fgLocalHostString[];
static const XMLCh fgNoString[];
static const XMLCh fgNotationString[];
static const XMLCh fgNDATAString[];
static const XMLCh fgNmTokenString[];
static const XMLCh fgNmTokensString[];
static const XMLCh fgPCDATAString[];
static const XMLCh fgPIString[];
static const XMLCh fgPubIDString[];
static const XMLCh fgRefString[];
static const XMLCh fgRequiredString[];
static const XMLCh fgStandaloneString[];
static const XMLCh fgVersion1[];
static const XMLCh fgVersion1_0[];
static const XMLCh fgVersion1_1[];
static const XMLCh fgSysIDString[];
static const XMLCh fgUnknownURIName[];
static const XMLCh fgUCS4EncodingString[];
static const XMLCh fgUCS4EncodingString2[];
static const XMLCh fgUCS4EncodingString3[];
static const XMLCh fgUCS4EncodingString4[];
static const XMLCh fgUCS4EncodingString5[];
static const XMLCh fgUCS4BEncodingString[];
static const XMLCh fgUCS4BEncodingString2[];
static const XMLCh fgUCS4LEncodingString[];
static const XMLCh fgUCS4LEncodingString2[];
static const XMLCh fgUSASCIIEncodingString[];
static const XMLCh fgUSASCIIEncodingString2[];
static const XMLCh fgUSASCIIEncodingString3[];
static const XMLCh fgUSASCIIEncodingString4[];
static const XMLCh fgUTF8EncodingString[];
static const XMLCh fgUTF8EncodingString2[];
static const XMLCh fgUTF16EncodingString[];
static const XMLCh fgUTF16EncodingString2[];
static const XMLCh fgUTF16EncodingString3[];
static const XMLCh fgUTF16EncodingString4[];
static const XMLCh fgUTF16EncodingString5[];
static const XMLCh fgUTF16EncodingString6[];
static const XMLCh fgUTF16EncodingString7[];
static const XMLCh fgUTF16BEncodingString[];
static const XMLCh fgUTF16BEncodingString2[];
static const XMLCh fgUTF16LEncodingString[];
static const XMLCh fgUTF16LEncodingString2[];
static const XMLCh fgVersionString[];
static const XMLCh fgValidityDomain[];
static const XMLCh fgWin1252EncodingString[];
static const XMLCh fgXMLChEncodingString[];
static const XMLCh fgXMLDOMMsgDomain[];
static const XMLCh fgXMLString[];
static const XMLCh fgXMLStringSpace[];
static const XMLCh fgXMLStringHTab[];
static const XMLCh fgXMLStringCR[];
static const XMLCh fgXMLStringLF[];
static const XMLCh fgXMLStringSpaceU[];
static const XMLCh fgXMLStringHTabU[];
static const XMLCh fgXMLStringCRU[];
static const XMLCh fgXMLStringLFU[];
static const XMLCh fgXMLDeclString[];
static const XMLCh fgXMLDeclStringSpace[];
static const XMLCh fgXMLDeclStringHTab[];
static const XMLCh fgXMLDeclStringLF[];
static const XMLCh fgXMLDeclStringCR[];
static const XMLCh fgXMLDeclStringSpaceU[];
static const XMLCh fgXMLDeclStringHTabU[];
static const XMLCh fgXMLDeclStringLFU[];
static const XMLCh fgXMLDeclStringCRU[];
static const XMLCh fgXMLNSString[];
static const XMLCh fgXMLNSColonString[];
static const XMLCh fgXMLNSURIName[];
static const XMLCh fgXMLErrDomain[];
static const XMLCh fgXMLURIName[];
static const XMLCh fgInfosetURIName[];
static const XMLCh fgYesString[];
static const XMLCh fgZeroLenString[];
static const XMLCh fgDTDEntityString[];
static const XMLCh fgAmp[];
static const XMLCh fgLT[];
static const XMLCh fgGT[];
static const XMLCh fgQuot[];
static const XMLCh fgApos[];
static const XMLCh fgWFXMLScanner[];
static const XMLCh fgIGXMLScanner[];
static const XMLCh fgSGXMLScanner[];
static const XMLCh fgDGXMLScanner[];
static const XMLCh fgXSAXMLScanner[];
static const XMLCh fgCDataStart[];
static const XMLCh fgCDataEnd[];
// Exception Name
static const XMLCh fgArrayIndexOutOfBoundsException_Name[];
static const XMLCh fgEmptyStackException_Name[];
static const XMLCh fgIllegalArgumentException_Name[];
static const XMLCh fgInvalidCastException_Name[];
static const XMLCh fgIOException_Name[];
static const XMLCh fgNoSuchElementException_Name[];
static const XMLCh fgNullPointerException_Name[];
static const XMLCh fgXMLPlatformUtilsException_Name[];
static const XMLCh fgRuntimeException_Name[];
static const XMLCh fgTranscodingException_Name[];
static const XMLCh fgUnexpectedEOFException_Name[];
static const XMLCh fgUnsupportedEncodingException_Name[];
static const XMLCh fgUTFDataFormatException_Name[];
static const XMLCh fgNetAccessorException_Name[];
static const XMLCh fgMalformedURLException_Name[];
static const XMLCh fgNumberFormatException_Name[];
static const XMLCh fgParseException_Name[];
static const XMLCh fgInvalidDatatypeFacetException_Name[];
static const XMLCh fgInvalidDatatypeValueException_Name[];
static const XMLCh fgSchemaDateTimeException_Name[];
static const XMLCh fgXPathException_Name[];
static const XMLCh fgXSerializationException_Name[];
static const XMLCh fgXMLXIncludeException_Name[];
// Numerical String
static const XMLCh fgNegINFString[];
static const XMLCh fgNegZeroString[];
static const XMLCh fgPosZeroString[];
static const XMLCh fgPosINFString[];
static const XMLCh fgNaNString[];
static const XMLCh fgEString[];
static const XMLCh fgZeroString[];
static const XMLCh fgNullString[];
// Xerces features/properties names
static const XMLCh fgXercesDynamic[];
static const XMLCh fgXercesSchema[];
static const XMLCh fgXercesSchemaFullChecking[];
static const XMLCh fgXercesLoadSchema[];
static const XMLCh fgXercesIdentityConstraintChecking[];
static const XMLCh fgXercesSchemaExternalSchemaLocation[];
static const XMLCh fgXercesSchemaExternalNoNameSpaceSchemaLocation[];
static const XMLCh fgXercesSecurityManager[];
static const XMLCh fgXercesLoadExternalDTD[];
static const XMLCh fgXercesContinueAfterFatalError[];
static const XMLCh fgXercesValidationErrorAsFatal[];
static const XMLCh fgXercesUserAdoptsDOMDocument[];
static const XMLCh fgXercesCacheGrammarFromParse[];
static const XMLCh fgXercesUseCachedGrammarInParse[];
static const XMLCh fgXercesScannerName[];
static const XMLCh fgXercesParserUseDocumentFromImplementation[];
static const XMLCh fgXercesCalculateSrcOfs[];
static const XMLCh fgXercesStandardUriConformant[];
static const XMLCh fgXercesDOMHasPSVIInfo[];
static const XMLCh fgXercesGenerateSyntheticAnnotations[];
static const XMLCh fgXercesValidateAnnotations[];
static const XMLCh fgXercesIgnoreCachedDTD[];
static const XMLCh fgXercesIgnoreAnnotations[];
static const XMLCh fgXercesDisableDefaultEntityResolution[];
static const XMLCh fgXercesSkipDTDValidation[];
static const XMLCh fgXercesEntityResolver[];
static const XMLCh fgXercesHandleMultipleImports[];
static const XMLCh fgXercesDoXInclude[];
static const XMLCh fgXercesLowWaterMark[];
// SAX2 features/properties names
static const XMLCh fgSAX2CoreValidation[];
static const XMLCh fgSAX2CoreNameSpaces[];
static const XMLCh fgSAX2CoreNameSpacePrefixes[];
// Introduced in DOM Level 3
// DOMLSParser features
static const XMLCh fgDOMCanonicalForm[];
static const XMLCh fgDOMCDATASections[];
static const XMLCh fgDOMComments[];
static const XMLCh fgDOMCharsetOverridesXMLEncoding[];
static const XMLCh fgDOMCheckCharacterNormalization[];
static const XMLCh fgDOMDatatypeNormalization[];
static const XMLCh fgDOMDisallowDoctype[];
static const XMLCh fgDOMElementContentWhitespace[];
static const XMLCh fgDOMErrorHandler[];
static const XMLCh fgDOMEntities[];
static const XMLCh fgDOMIgnoreUnknownCharacterDenormalization[];
static const XMLCh fgDOMInfoset[];
static const XMLCh fgDOMNamespaces[];
static const XMLCh fgDOMNamespaceDeclarations[];
static const XMLCh fgDOMNormalizeCharacters[];
static const XMLCh fgDOMResourceResolver[];
static const XMLCh fgDOMSchemaLocation[];
static const XMLCh fgDOMSchemaType[];
static const XMLCh fgDOMSplitCDATASections[];
static const XMLCh fgDOMSupportedMediatypesOnly[];
static const XMLCh fgDOMValidate[];
static const XMLCh fgDOMValidateIfSchema[];
static const XMLCh fgDOMWellFormed[];
static const XMLCh fgDOMXMLSchemaType[];
static const XMLCh fgDOMDTDType[];
// Introduced in DOM Level 3
// DOMLSSerializer feature
static const XMLCh fgDOMWRTCanonicalForm[];
static const XMLCh fgDOMWRTDiscardDefaultContent[];
static const XMLCh fgDOMWRTEntities[];
static const XMLCh fgDOMWRTFormatPrettyPrint[];
static const XMLCh fgDOMWRTNormalizeCharacters[];
static const XMLCh fgDOMWRTSplitCdataSections[];
static const XMLCh fgDOMWRTValidation[];
static const XMLCh fgDOMWRTWhitespaceInElementContent[];
static const XMLCh fgDOMWRTBOM[];
static const XMLCh fgDOMXMLDeclaration[];
static const XMLCh fgDOMWRTXercesPrettyPrint[];
// Private interface names
static const XMLCh fgXercescInterfacePSVITypeInfo[];
static const XMLCh fgXercescInterfaceDOMDocumentTypeImpl[];
static const XMLCh fgXercescInterfaceDOMDocumentImpl[];
static const XMLCh fgXercescInterfaceDOMMemoryManager[];
// Locale
static const char fgXercescDefaultLocale[];
// Default Exception String
static const XMLCh fgDefErrMsg[];
// Datatype
static const XMLCh fgValueZero[];
static const XMLCh fgNegOne[];
static const XMLCh fgValueOne[];
static const XMLCh fgLongMaxInc[];
static const XMLCh fgLongMinInc[];
static const XMLCh fgIntMaxInc[];
static const XMLCh fgIntMinInc[];
static const XMLCh fgShortMaxInc[];
static const XMLCh fgShortMinInc[];
static const XMLCh fgByteMaxInc[];
static const XMLCh fgByteMinInc[];
static const XMLCh fgULongMaxInc[];
static const XMLCh fgUIntMaxInc[];
static const XMLCh fgUShortMaxInc[];
static const XMLCh fgUByteMaxInc[];
static const XMLCh fgLangPattern[];
static const XMLCh fgBooleanValueSpace[][8];
static const XMLSize_t fgBooleanValueSpaceArraySize;
private:
// -----------------------------------------------------------------------
// Unimplemented constructors and operators
// -----------------------------------------------------------------------
XMLUni();
};
#ifdef __GNUC__
# pragma GCC diagnostic pop
#endif
XERCES_CPP_NAMESPACE_END
#endif
|