 Timestamp:
 Dec 4, 2012, 6:02:04 PM (6 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

icXML/icXMLdevel/src/xercesc/validators/schema/SchemaSymbols.cpp
r2732 r2747 1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one or more 3 * contributor license agreements. See the NOTICE file distributed with 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 7 * the License. You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 /* 19 * $Id: SchemaSymbols.cpp 802804 20090810 14:21:48Z amassari $ 20 */ 21 22 23 //  24 // Includes 25 //  26 #include <xercesc/util/XMLUniDefs.hpp> 27 #include <icxercesc/validators/schema/SchemaSymbols.hpp> 28 29 XERCES_CPP_NAMESPACE_BEGIN 30 31 //  32 // SchemaSymbols: Static data 33 //  34 const XMLCh SchemaSymbols::fgURI_XSI[] = 35 { 36 chLatin_h, chLatin_t, chLatin_t, chLatin_p, chColon, chForwardSlash, 37 chForwardSlash, chLatin_w, chLatin_w, chLatin_w, chPeriod, chLatin_w, 38 chDigit_3, chPeriod, chLatin_o, chLatin_r, chLatin_g, chForwardSlash, 39 chDigit_2, chDigit_0, chDigit_0, chDigit_1, chForwardSlash, 40 chLatin_X, chLatin_M, chLatin_L, chLatin_S, 41 chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chDash, chLatin_i, 42 chLatin_n, chLatin_s, chLatin_t, chLatin_a, chLatin_n, chLatin_c, 43 chLatin_e, chNull 44 }; 45 46 const XMLCh SchemaSymbols::fgURI_SCHEMAFORSCHEMA[] = 47 { 48 chLatin_h, chLatin_t, chLatin_t, chLatin_p, chColon, chForwardSlash, 49 chForwardSlash, chLatin_w, chLatin_w, chLatin_w, chPeriod, chLatin_w, 50 chDigit_3, chPeriod, chLatin_o, chLatin_r, chLatin_g, chForwardSlash, 51 chDigit_2, chDigit_0, chDigit_0, chDigit_1, chForwardSlash, 52 chLatin_X, chLatin_M, chLatin_L, chLatin_S, 53 chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chNull 54 }; 55 56 // deprecated (typo) 57 const XMLCh SchemaSymbols::fgXSI_SCHEMALOCACTION[] = 58 { 59 chLatin_s, chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, 60 chLatin_L, chLatin_o, chLatin_c, chLatin_a, chLatin_t, chLatin_i, 61 chLatin_o, chLatin_n, chNull 62 }; 63 64 // deprecated (typo) 65 const XMLCh SchemaSymbols::fgXSI_NONAMESPACESCHEMALOCACTION[] = 66 { 67 chLatin_n, chLatin_o, chLatin_N, chLatin_a, chLatin_m, chLatin_e, 68 chLatin_s, chLatin_p, chLatin_a, chLatin_c, chLatin_e, chLatin_S, 69 chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chLatin_L, 70 chLatin_o, chLatin_c, chLatin_a, chLatin_t, chLatin_i, chLatin_o, 71 chLatin_n, chNull 72 }; 73 74 const XMLCh SchemaSymbols::fgXSI_SCHEMALOCATION[] = 75 { 76 chLatin_s, chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, 77 chLatin_L, chLatin_o, chLatin_c, chLatin_a, chLatin_t, chLatin_i, 78 chLatin_o, chLatin_n, chNull 79 }; 80 81 const XMLCh SchemaSymbols::fgXSI_NONAMESPACESCHEMALOCATION[] = 82 { 83 chLatin_n, chLatin_o, chLatin_N, chLatin_a, chLatin_m, chLatin_e, 84 chLatin_s, chLatin_p, chLatin_a, chLatin_c, chLatin_e, chLatin_S, 85 chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chLatin_L, 86 chLatin_o, chLatin_c, chLatin_a, chLatin_t, chLatin_i, chLatin_o, 87 chLatin_n, chNull 88 }; 89 90 const XMLCh SchemaSymbols::fgXSI_TYPE[] = 91 { 92 chLatin_t, chLatin_y, chLatin_p, chLatin_e, chNull 93 }; 94 95 const XMLCh SchemaSymbols::fgELT_ALL[] = 96 { 97 chLatin_a, chLatin_l, chLatin_l, chNull 98 }; 99 100 const XMLCh SchemaSymbols::fgELT_ANNOTATION[] = 101 { 102 chLatin_a, chLatin_n, chLatin_n, chLatin_o, chLatin_t, chLatin_a, 103 chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull 104 }; 105 106 const XMLCh SchemaSymbols::fgELT_ANY[] = 107 { 108 chLatin_a, chLatin_n, chLatin_y, chNull 109 }; 110 111 const XMLCh SchemaSymbols::fgELT_WILDCARD[] = 112 { 113 chLatin_a, chLatin_n, chLatin_y, chNull 114 }; 115 116 const XMLCh SchemaSymbols::fgELT_ANYATTRIBUTE[] = 117 { 118 chLatin_a, chLatin_n, chLatin_y, chLatin_A, chLatin_t, chLatin_t, 119 chLatin_r, chLatin_i, chLatin_b, chLatin_u, chLatin_t, chLatin_e, chNull 120 }; 121 122 const XMLCh SchemaSymbols::fgELT_APPINFO[] = 123 { 124 chLatin_a, chLatin_p, chLatin_p, chLatin_i, chLatin_n, chLatin_f, chLatin_o, chNull 125 }; 126 127 const XMLCh SchemaSymbols::fgELT_ATTRIBUTE[] = 128 { 129 chLatin_a, chLatin_t, chLatin_t, chLatin_r, chLatin_i, chLatin_b, 130 chLatin_u, chLatin_t, chLatin_e, chNull 131 }; 132 133 const XMLCh SchemaSymbols::fgELT_ATTRIBUTEGROUP[] = 134 { 135 chLatin_a, chLatin_t, chLatin_t, chLatin_r, chLatin_i, chLatin_b, 136 chLatin_u, chLatin_t, chLatin_e, chLatin_G, chLatin_r, chLatin_o, 137 chLatin_u, chLatin_p, chNull 138 }; 139 140 const XMLCh SchemaSymbols::fgELT_CHOICE[] = 141 { 142 chLatin_c, chLatin_h, chLatin_o, chLatin_i, chLatin_c, chLatin_e, chNull 143 }; 144 145 const XMLCh SchemaSymbols::fgELT_COMPLEXTYPE[] = 146 { 147 chLatin_c, chLatin_o, chLatin_m, chLatin_p, chLatin_l, chLatin_e, 148 chLatin_x, chLatin_T, chLatin_y, chLatin_p, chLatin_e, chNull 149 }; 150 151 const XMLCh SchemaSymbols::fgELT_CONTENT[] = 152 { 153 chLatin_c, chLatin_o, chLatin_n, chLatin_t, chLatin_e, chLatin_n, 154 chLatin_t, chNull 155 }; 156 157 const XMLCh SchemaSymbols::fgELT_DOCUMENTATION[] = 158 { 159 chLatin_d, chLatin_o, chLatin_c, chLatin_u, chLatin_m, chLatin_e, chLatin_n, 160 chLatin_t, chLatin_a, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull 161 }; 162 163 const XMLCh SchemaSymbols::fgELT_DURATION[] = 164 { 165 chLatin_d, chLatin_u, chLatin_r, chLatin_a, chLatin_t, chLatin_i, 166 chLatin_o, chLatin_n, chNull 167 }; 168 169 const XMLCh SchemaSymbols::fgELT_ELEMENT[] = 170 { 171 chLatin_e, chLatin_l, chLatin_e, chLatin_m, chLatin_e, chLatin_n, 172 chLatin_t, chNull 173 }; 174 175 const XMLCh SchemaSymbols::fgELT_ENCODING[] = 176 { 177 chLatin_e, chLatin_n, chLatin_c, chLatin_o, chLatin_d, chLatin_i, 178 chLatin_n, chLatin_g, chNull 179 }; 180 181 const XMLCh SchemaSymbols::fgELT_ENUMERATION[] = 182 { 183 chLatin_e, chLatin_n, chLatin_u, chLatin_m, chLatin_e, chLatin_r, 184 chLatin_a, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull 185 }; 186 187 const XMLCh SchemaSymbols::fgELT_FIELD[] = 188 { 189 chLatin_f, chLatin_i, chLatin_e, chLatin_l, chLatin_d, chNull 190 }; 191 192 193 const XMLCh SchemaSymbols::fgELT_WHITESPACE[] = 194 { 195 chLatin_w, chLatin_h, chLatin_i, chLatin_t, chLatin_e, chLatin_S, 196 chLatin_p, chLatin_a, chLatin_c, chLatin_e, chNull 197 }; 198 199 const XMLCh SchemaSymbols::fgELT_GROUP[] = 200 { 201 chLatin_g, chLatin_r, chLatin_o, chLatin_u, chLatin_p, chNull 202 }; 203 204 const XMLCh SchemaSymbols::fgELT_IMPORT[] = 205 { 206 chLatin_i, chLatin_m, chLatin_p, chLatin_o, chLatin_r, chLatin_t, chNull 207 }; 208 209 const XMLCh SchemaSymbols::fgELT_INCLUDE[] = 210 { 211 chLatin_i, chLatin_n, chLatin_c, chLatin_l, chLatin_u, chLatin_d, 212 chLatin_e, chNull 213 }; 214 215 const XMLCh SchemaSymbols::fgELT_REDEFINE[] = 216 { 217 chLatin_r, chLatin_e, chLatin_d, chLatin_e, chLatin_f, chLatin_i, 218 chLatin_n, chLatin_e, chNull 219 }; 220 221 const XMLCh SchemaSymbols::fgELT_KEY[] = 222 { 223 chLatin_k, chLatin_e, chLatin_y, chNull 224 }; 225 226 const XMLCh SchemaSymbols::fgELT_KEYREF[] = 227 { 228 chLatin_k, chLatin_e, chLatin_y, chLatin_r, chLatin_e, chLatin_f, chNull 229 }; 230 231 const XMLCh SchemaSymbols::fgELT_LENGTH[] = 232 { 233 chLatin_l, chLatin_e, chLatin_n, chLatin_g, chLatin_t, chLatin_h, chNull 234 }; 235 236 const XMLCh SchemaSymbols::fgELT_MAXEXCLUSIVE[] = 237 { 238 chLatin_m, chLatin_a, chLatin_x, chLatin_E, chLatin_x, chLatin_c, 239 chLatin_l, chLatin_u, chLatin_s, chLatin_i, chLatin_v, chLatin_e, chNull 240 }; 241 242 const XMLCh SchemaSymbols::fgELT_MAXINCLUSIVE[] = 243 { 244 chLatin_m, chLatin_a, chLatin_x, chLatin_I, chLatin_n, chLatin_c, 245 chLatin_l, chLatin_u, chLatin_s, chLatin_i, chLatin_v, chLatin_e, chNull 246 }; 247 248 const XMLCh SchemaSymbols::fgELT_MAXLENGTH[] = 249 { 250 chLatin_m, chLatin_a, chLatin_x, chLatin_L, chLatin_e, chLatin_n, 251 chLatin_g, chLatin_t, chLatin_h, chNull 252 }; 253 254 const XMLCh SchemaSymbols::fgELT_MINEXCLUSIVE[] = 255 { 256 chLatin_m, chLatin_i, chLatin_n, chLatin_E, chLatin_x, chLatin_c, 257 chLatin_l, chLatin_u, chLatin_s, chLatin_i, chLatin_v, chLatin_e, chNull 258 }; 259 260 const XMLCh SchemaSymbols::fgELT_MININCLUSIVE[] = 261 { 262 chLatin_m, chLatin_i, chLatin_n, chLatin_I, chLatin_n, chLatin_c, 263 chLatin_l, chLatin_u, chLatin_s, chLatin_i, chLatin_v, chLatin_e, chNull 264 }; 265 266 const XMLCh SchemaSymbols::fgELT_MINLENGTH[] = 267 { 268 chLatin_m, chLatin_i, chLatin_n, chLatin_L, chLatin_e, chLatin_n, 269 chLatin_g, chLatin_t, chLatin_h, chNull 270 }; 271 272 const XMLCh SchemaSymbols::fgELT_NOTATION[] = 273 { 274 chLatin_n, chLatin_o, chLatin_t, chLatin_a, chLatin_t, chLatin_i, 275 chLatin_o, chLatin_n, chNull 276 }; 277 278 const XMLCh SchemaSymbols::fgELT_PATTERN[] = 279 { 280 chLatin_p, chLatin_a, chLatin_t, chLatin_t, chLatin_e, chLatin_r, 281 chLatin_n, chNull 282 }; 283 284 const XMLCh SchemaSymbols::fgELT_PERIOD[] = 285 { 286 chLatin_p, chLatin_e, chLatin_r, chLatin_i, chLatin_o, chLatin_d, chNull 287 }; 288 289 const XMLCh SchemaSymbols::fgELT_TOTALDIGITS[] = 290 { 291 chLatin_t, chLatin_o, chLatin_t, chLatin_a, chLatin_l, chLatin_D, 292 chLatin_i, chLatin_g, chLatin_i, chLatin_t, chLatin_s, chNull 293 }; 294 295 const XMLCh SchemaSymbols::fgELT_FRACTIONDIGITS[] = 296 { 297 chLatin_f, chLatin_r, chLatin_a, chLatin_c, chLatin_t, chLatin_i, chLatin_o, 298 chLatin_n, chLatin_D, chLatin_i, chLatin_g, chLatin_i, chLatin_t, chLatin_s, chNull 299 }; 300 301 const XMLCh SchemaSymbols::fgELT_SCHEMA[] = 302 { 303 chLatin_s, chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, chNull 304 }; 305 306 const XMLCh SchemaSymbols::fgELT_SELECTOR[] = 307 { 308 chLatin_s, chLatin_e, chLatin_l, chLatin_e, chLatin_c, chLatin_t, 309 chLatin_o, chLatin_r, chNull 310 }; 311 312 const XMLCh SchemaSymbols::fgELT_SEQUENCE[] = 313 { 314 chLatin_s, chLatin_e, chLatin_q, chLatin_u, chLatin_e, chLatin_n, 315 chLatin_c, chLatin_e, chNull 316 }; 317 318 const XMLCh SchemaSymbols::fgELT_SIMPLETYPE[] = 319 { 320 chLatin_s, chLatin_i, chLatin_m, chLatin_p, chLatin_l, chLatin_e, 321 chLatin_T, chLatin_y, chLatin_p, chLatin_e, chNull 322 }; 323 324 const XMLCh SchemaSymbols::fgELT_UNION[] = 325 { 326 chLatin_u, chLatin_n, chLatin_i, chLatin_o, chLatin_n, chNull 327 }; 328 329 const XMLCh SchemaSymbols::fgELT_LIST[] = 330 { 331 chLatin_l, chLatin_i, chLatin_s, chLatin_t, chNull 332 }; 333 334 const XMLCh SchemaSymbols::fgELT_UNIQUE[] = 335 { 336 chLatin_u, chLatin_n, chLatin_i, chLatin_q, chLatin_u, chLatin_e, chNull 337 }; 338 339 const XMLCh SchemaSymbols::fgELT_COMPLEXCONTENT[] = 340 { 341 chLatin_c, chLatin_o, chLatin_m, chLatin_p, chLatin_l, chLatin_e, 342 chLatin_x, chLatin_C, chLatin_o, chLatin_n, chLatin_t, chLatin_e, 343 chLatin_n, chLatin_t, chNull 344 }; 345 346 const XMLCh SchemaSymbols::fgELT_SIMPLECONTENT[] = 347 { 348 chLatin_s, chLatin_i, chLatin_m, chLatin_p, chLatin_l, chLatin_e, chLatin_C, 349 chLatin_o, chLatin_n, chLatin_t, chLatin_e, chLatin_n, chLatin_t, chNull 350 }; 351 352 const XMLCh SchemaSymbols::fgELT_RESTRICTION[] = 353 { 354 chLatin_r, chLatin_e, chLatin_s, chLatin_t, chLatin_r, chLatin_i, 355 chLatin_c, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull 356 }; 357 358 const XMLCh SchemaSymbols::fgELT_EXTENSION[] = 359 { 360 chLatin_e, chLatin_x, chLatin_t, chLatin_e, chLatin_n, chLatin_s, 361 chLatin_i, chLatin_o, chLatin_n, chNull 362 }; 363 364 const XMLCh SchemaSymbols::fgATT_ABSTRACT[] = 365 { 366 chLatin_a, chLatin_b, chLatin_s, chLatin_t, chLatin_r, chLatin_a, 367 chLatin_c, chLatin_t, chNull 368 }; 369 370 const XMLCh SchemaSymbols::fgATT_ATTRIBUTEFORMDEFAULT[] = 371 { 372 chLatin_a, chLatin_t, chLatin_t, chLatin_r, chLatin_i, chLatin_b, 373 chLatin_u, chLatin_t, chLatin_e, chLatin_F, chLatin_o, chLatin_r, 374 chLatin_m, chLatin_D, chLatin_e, chLatin_f, chLatin_a, chLatin_u, 375 chLatin_l, chLatin_t, chNull 376 }; 377 378 const XMLCh SchemaSymbols::fgATT_BASE[] = 379 { 380 chLatin_b, chLatin_a, chLatin_s, chLatin_e, chNull 381 }; 382 383 const XMLCh SchemaSymbols::fgATT_ITEMTYPE[] = 384 { 385 chLatin_i, chLatin_t, chLatin_e, chLatin_m, chLatin_T, chLatin_y, 386 chLatin_p, chLatin_e, chNull 387 }; 388 389 const XMLCh SchemaSymbols::fgATT_MEMBERTYPES[] = 390 { 391 chLatin_m, chLatin_e, chLatin_m, chLatin_b, chLatin_e, chLatin_r, 392 chLatin_T, chLatin_y, chLatin_p, chLatin_e, chLatin_s, chNull 393 }; 394 395 const XMLCh SchemaSymbols::fgATT_BLOCK[] = 396 { 397 chLatin_b, chLatin_l, chLatin_o, chLatin_c, chLatin_k, chNull 398 }; 399 400 const XMLCh SchemaSymbols::fgATT_BLOCKDEFAULT[] = 401 { 402 chLatin_b, chLatin_l, chLatin_o, chLatin_c, chLatin_k, chLatin_D, 403 chLatin_e, chLatin_f, chLatin_a, chLatin_u, chLatin_l, chLatin_t, chNull 404 }; 405 406 const XMLCh SchemaSymbols::fgATT_DEFAULT[] = 407 { 408 chLatin_d, chLatin_e, chLatin_f, chLatin_a, chLatin_u, chLatin_l, chLatin_t, chNull 409 }; 410 411 const XMLCh SchemaSymbols::fgATT_ELEMENTFORMDEFAULT[] = 412 { 413 chLatin_e, chLatin_l, chLatin_e, chLatin_m, chLatin_e, chLatin_n, 414 chLatin_t, chLatin_F, chLatin_o, chLatin_r, chLatin_m, chLatin_D, 415 chLatin_e, chLatin_f, chLatin_a, chLatin_u, chLatin_l, chLatin_t, chNull 416 }; 417 418 const XMLCh SchemaSymbols::fgATT_SUBSTITUTIONGROUP[] = 419 { 420 chLatin_s, chLatin_u, chLatin_b, chLatin_s, chLatin_t, chLatin_i, 421 chLatin_t, chLatin_u, chLatin_t, chLatin_i, chLatin_o, chLatin_n, 422 chLatin_G, chLatin_r, chLatin_o, chLatin_u, chLatin_p, chNull 423 }; 424 425 const XMLCh SchemaSymbols::fgATT_FINAL[] = 426 { 427 chLatin_f, chLatin_i, chLatin_n, chLatin_a, chLatin_l, chNull 428 }; 429 430 const XMLCh SchemaSymbols::fgATT_FINALDEFAULT[] = 431 { 432 chLatin_f, chLatin_i, chLatin_n, chLatin_a, chLatin_l, chLatin_D, 433 chLatin_e, chLatin_f, chLatin_a, chLatin_u, chLatin_l, chLatin_t, chNull 434 }; 435 436 const XMLCh SchemaSymbols::fgATT_FIXED[] = 437 { 438 chLatin_f, chLatin_i, chLatin_x, chLatin_e, chLatin_d, chNull 439 }; 440 441 const XMLCh SchemaSymbols::fgATT_FORM[] = 442 { 443 chLatin_f, chLatin_o, chLatin_r, chLatin_m, chNull 444 }; 445 446 const XMLCh SchemaSymbols::fgATT_ID[] = 447 { 448 chLatin_i, chLatin_d, chNull 449 }; 450 451 const XMLCh SchemaSymbols::fgATT_MAXOCCURS[] = 452 { 453 chLatin_m, chLatin_a, chLatin_x, chLatin_O, chLatin_c, chLatin_c, 454 chLatin_u, chLatin_r, chLatin_s, chNull 455 }; 456 457 const XMLCh SchemaSymbols::fgATT_MINOCCURS[] = 458 { 459 chLatin_m, chLatin_i, chLatin_n, chLatin_O, chLatin_c, chLatin_c, 460 chLatin_u, chLatin_r, chLatin_s, chNull 461 }; 462 463 const XMLCh SchemaSymbols::fgATT_NAME[] = 464 { 465 chLatin_n, chLatin_a, chLatin_m, chLatin_e, chNull 466 }; 467 468 const XMLCh SchemaSymbols::fgATT_NAMESPACE[] = 469 { 470 chLatin_n, chLatin_a, chLatin_m, chLatin_e, chLatin_s, chLatin_p, 471 chLatin_a, chLatin_c, chLatin_e, chNull 472 }; 473 474 const XMLCh SchemaSymbols::fgATT_NILL[] = 475 { 476 chLatin_n, chLatin_i, chLatin_l, chNull 477 }; 478 479 const XMLCh SchemaSymbols::fgATT_NILLABLE[] = 480 { 481 chLatin_n, chLatin_i, chLatin_l, chLatin_l, chLatin_a, chLatin_b, 482 chLatin_l, chLatin_e, chNull 483 }; 484 485 const XMLCh SchemaSymbols::fgATT_PROCESSCONTENTS[] = 486 { 487 chLatin_p, chLatin_r, chLatin_o, chLatin_c, chLatin_e, chLatin_s, 488 chLatin_s, chLatin_C, chLatin_o, chLatin_n, chLatin_t, chLatin_e, 489 chLatin_n, chLatin_t, chLatin_s, chNull 490 }; 491 492 const XMLCh SchemaSymbols::fgATT_REF[] = 493 { 494 chLatin_r, chLatin_e, chLatin_f, chNull 495 }; 496 497 const XMLCh SchemaSymbols::fgATT_REFER[] = 498 { 499 chLatin_r, chLatin_e, chLatin_f, chLatin_e, chLatin_r, chNull 500 }; 501 502 const XMLCh SchemaSymbols::fgATT_SCHEMALOCATION[] = 503 { 504 chLatin_s, chLatin_c, chLatin_h, chLatin_e, chLatin_m, chLatin_a, 505 chLatin_L, chLatin_o, chLatin_c, chLatin_a, chLatin_t, chLatin_i, 506 chLatin_o, chLatin_n, chNull 507 }; 508 509 const XMLCh SchemaSymbols::fgATT_SOURCE[] = 510 { 511 chLatin_s, chLatin_o, chLatin_u, chLatin_r, chLatin_c, chLatin_e, chNull 512 }; 513 514 const XMLCh SchemaSymbols::fgATT_SYSTEM[] = 515 { 516 chLatin_s, chLatin_y, chLatin_s, chLatin_t, chLatin_e, chLatin_m, chNull 517 }; 518 519 const XMLCh SchemaSymbols::fgATT_PUBLIC[] = 520 { 521 chLatin_p, chLatin_u, chLatin_b, chLatin_l, chLatin_i, chLatin_c, chNull 522 }; 523 524 const XMLCh SchemaSymbols::fgATT_TARGETNAMESPACE[] = 525 { 526 chLatin_t, chLatin_a, chLatin_r, chLatin_g, chLatin_e, chLatin_t, 527 chLatin_N, chLatin_a, chLatin_m, chLatin_e, chLatin_s, chLatin_p, 528 chLatin_a, chLatin_c, chLatin_e, chNull 529 }; 530 531 const XMLCh SchemaSymbols::fgATT_TYPE[] = 532 { 533 chLatin_t, chLatin_y, chLatin_p, chLatin_e, chNull 534 }; 535 536 const XMLCh SchemaSymbols::fgATT_USE[] = 537 { 538 chLatin_u, chLatin_s, chLatin_e, chNull 539 }; 540 541 const XMLCh SchemaSymbols::fgATT_VALUE[] = 542 { 543 chLatin_v, chLatin_a, chLatin_l, chLatin_u, chLatin_e, chNull 544 }; 545 546 const XMLCh SchemaSymbols::fgATT_MIXED[] = 547 { 548 chLatin_m, chLatin_i, chLatin_x, chLatin_e, chLatin_d, chNull 549 }; 550 551 const XMLCh SchemaSymbols::fgATT_VERSION[] = 552 { 553 chLatin_v, chLatin_e, chLatin_r, chLatin_s, chLatin_i, 554 chLatin_o, chLatin_n, chNull 555 }; 556 557 const XMLCh SchemaSymbols::fgATT_XPATH[] = 558 { 559 chLatin_x, chLatin_p, chLatin_a, chLatin_t, chLatin_h, chNull 560 }; 561 562 const XMLCh SchemaSymbols::fgATTVAL_TWOPOUNDANY[] = 563 { 564 chPound, chPound, chLatin_a, chLatin_n, chLatin_y, chNull 565 }; 566 567 const XMLCh SchemaSymbols::fgATTVAL_TWOPOUNDLOCAL[] = 568 { 569 chPound, chPound, chLatin_l, chLatin_o, chLatin_c, chLatin_a, chLatin_l, chNull 570 }; 571 572 const XMLCh SchemaSymbols::fgATTVAL_TWOPOUNDOTHER[] = 573 { 574 chPound, chPound, chLatin_o, chLatin_t, chLatin_h, chLatin_e, chLatin_r, chNull 575 }; 576 577 const XMLCh SchemaSymbols::fgATTVAL_TWOPOUNDTRAGETNAMESPACE[] = 578 { 579 chPound, chPound, chLatin_t, chLatin_a, chLatin_r, chLatin_g, chLatin_e, 580 chLatin_t, chLatin_N, chLatin_a, chLatin_m, chLatin_e, chLatin_s, chLatin_p, 581 chLatin_a, chLatin_c, chLatin_e, chNull 582 }; 583 584 const XMLCh SchemaSymbols::fgATTVAL_POUNDALL[] = 585 { 586 chPound, chLatin_a, chLatin_l, chLatin_l, chNull 587 }; 588 589 const XMLCh SchemaSymbols::fgATTVAL_BASE64[] = 590 { 591 chLatin_b, chLatin_a, chLatin_s, chLatin_e, chDigit_6, chDigit_4, chNull 592 }; 593 594 const XMLCh SchemaSymbols::fgATTVAL_BOOLEAN[] = 595 { 596 chLatin_b, chLatin_o, chLatin_o, chLatin_l, chLatin_e, chLatin_a, chLatin_n, chNull 597 }; 598 599 const XMLCh SchemaSymbols::fgATTVAL_DEFAULT[] = 600 { 601 chLatin_d, chLatin_e, chLatin_f, chLatin_a, chLatin_u, chLatin_l, chLatin_t, chNull 602 }; 603 604 const XMLCh SchemaSymbols::fgATTVAL_ELEMENTONLY[] = 605 { 606 chLatin_e, chLatin_l, chLatin_e, chLatin_m, chLatin_e, chLatin_n, 607 chLatin_t, chLatin_O, chLatin_n, chLatin_l, chLatin_y, chNull 608 }; 609 610 const XMLCh SchemaSymbols::fgATTVAL_EMPTY[] = 611 { 612 chLatin_e, chLatin_m, chLatin_p, chLatin_t, chLatin_y, chNull 613 }; 614 615 const XMLCh SchemaSymbols::fgATTVAL_EXTENSION[] = 616 { 617 chLatin_e, chLatin_x, chLatin_t, chLatin_e, chLatin_n, chLatin_s, 618 chLatin_i, chLatin_o, chLatin_n, chNull 619 }; 620 621 const XMLCh SchemaSymbols::fgATTVAL_FALSE[] = 622 { 623 chLatin_f, chLatin_a, chLatin_l, chLatin_s, chLatin_e, chNull 624 }; 625 626 const XMLCh SchemaSymbols::fgATTVAL_FIXED[] = 627 { 628 chLatin_f, chLatin_i, chLatin_x, chLatin_e, chLatin_d, chNull 629 }; 630 631 const XMLCh SchemaSymbols::fgATTVAL_HEX[] = 632 { 633 chLatin_h, chLatin_e, chLatin_x, chNull 634 }; 635 636 const XMLCh SchemaSymbols::fgATTVAL_ID[] = 637 { 638 chLatin_I, chLatin_D, chNull 639 }; 640 641 const XMLCh SchemaSymbols::fgATTVAL_LAX[] = 642 { 643 chLatin_l, chLatin_a, chLatin_x, chNull 644 }; 645 646 const XMLCh SchemaSymbols::fgATTVAL_MAXLENGTH[] = 647 { 648 chLatin_m, chLatin_a, chLatin_x, chLatin_L, chLatin_e, chLatin_n, 649 chLatin_g, chLatin_t, chLatin_h, chNull 650 }; 651 652 const XMLCh SchemaSymbols::fgATTVAL_MINLENGTH[] = 653 { 654 chLatin_m, chLatin_i, chLatin_n, chLatin_L, chLatin_e, chLatin_n, 655 chLatin_g, chLatin_t, chLatin_h, chNull 656 }; 657 658 659 const XMLCh SchemaSymbols::fgATTVAL_MIXED[] = 660 { 661 chLatin_m, chLatin_i, chLatin_x, chLatin_e, chLatin_d, chNull 662 }; 663 664 665 const XMLCh SchemaSymbols::fgATTVAL_NCNAME[] = 666 { 667 chLatin_N, chLatin_C, chLatin_N, chLatin_a, chLatin_m, chLatin_e, chNull 668 }; 669 670 const XMLCh SchemaSymbols::fgATTVAL_OPTIONAL[] = 671 { 672 chLatin_o, chLatin_p, chLatin_t, chLatin_i, chLatin_o, chLatin_n, 673 chLatin_a, chLatin_l, chNull 674 }; 675 676 const XMLCh SchemaSymbols::fgATTVAL_PROHIBITED[] = 677 { 678 chLatin_p, chLatin_r, chLatin_o, chLatin_h, chLatin_i, chLatin_b, 679 chLatin_i, chLatin_t, chLatin_e, chLatin_d, chNull 680 }; 681 682 const XMLCh SchemaSymbols::fgATTVAL_QNAME[] = 683 { 684 chLatin_Q, chLatin_N, chLatin_a, chLatin_m, chLatin_e, chNull 685 }; 686 687 const XMLCh SchemaSymbols::fgATTVAL_QUALIFIED[] = 688 { 689 chLatin_q, chLatin_u, chLatin_a, chLatin_l, chLatin_i, chLatin_f, 690 chLatin_i, chLatin_e, chLatin_d, chNull 691 }; 692 693 const XMLCh SchemaSymbols::fgATTVAL_REQUIRED[] = 694 { 695 chLatin_r, chLatin_e, chLatin_q, chLatin_u, chLatin_i, chLatin_r, 696 chLatin_e, chLatin_d, chNull 697 }; 698 699 const XMLCh SchemaSymbols::fgATTVAL_RESTRICTION[] = 700 { 701 chLatin_r, chLatin_e, chLatin_s, chLatin_t, chLatin_r, chLatin_i, 702 chLatin_c, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull 703 }; 704 705 const XMLCh SchemaSymbols::fgATTVAL_SKIP[] = 706 { 707 chLatin_s, chLatin_k, chLatin_i, chLatin_p, chNull 708 }; 709 710 const XMLCh SchemaSymbols::fgATTVAL_STRICT[] = 711 { 712 chLatin_s, chLatin_t, chLatin_r, chLatin_i, chLatin_c, chLatin_t, chNull 713 }; 714 715 const XMLCh SchemaSymbols::fgATTVAL_STRING[] = 716 { 717 chLatin_s, chLatin_t, chLatin_r, chLatin_i, chLatin_n, chLatin_g, chNull 718 }; 719 720 const XMLCh SchemaSymbols::fgATTVAL_TEXTONLY[] = 721 { 722 chLatin_t, chLatin_e, chLatin_x, chLatin_t, chLatin_O, chLatin_n, 723 chLatin_l, chLatin_y, chNull 724 }; 725 726 const XMLCh SchemaSymbols::fgATTVAL_TIMEDURATION[] = 727 { 728 chLatin_t, chLatin_i, chLatin_m, chLatin_e, chLatin_D, chLatin_u, 729 chLatin_r, chLatin_a, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull 730 }; 731 732 const XMLCh SchemaSymbols::fgATTVAL_TRUE[] = 733 { 734 chLatin_t, chLatin_r, chLatin_u, chLatin_e, chNull 735 }; 736 737 const XMLCh SchemaSymbols::fgATTVAL_UNQUALIFIED[] = 738 { 739 chLatin_u, chLatin_n, chLatin_q, chLatin_u, chLatin_a, chLatin_l, 740 chLatin_i, chLatin_f, chLatin_i, chLatin_e, chLatin_d, chNull 741 }; 742 743 const XMLCh SchemaSymbols::fgATTVAL_URI[] = 744 { 745 chLatin_u, chLatin_r, chLatin_i, chNull 746 }; 747 748 const XMLCh SchemaSymbols::fgATTVAL_URIREFERENCE[] = 749 { 750 chLatin_u, chLatin_r, chLatin_i, chLatin_R, chLatin_e, chLatin_f, 751 chLatin_e, chLatin_r, chLatin_e, chLatin_n, chLatin_c, chLatin_e, chNull 752 }; 753 754 const XMLCh SchemaSymbols::fgATTVAL_SUBSTITUTIONGROUP[] = 755 { 756 chLatin_s, chLatin_u, chLatin_b, chLatin_s, chLatin_t, chLatin_i, 757 chLatin_t, chLatin_u, chLatin_t, chLatin_i, chLatin_o, chLatin_n, 758 chLatin_G, chLatin_r, chLatin_o, chLatin_u, chLatin_p, chNull 759 }; 760 761 const XMLCh SchemaSymbols::fgATTVAL_SUBSTITUTION[] = 762 { 763 chLatin_s, chLatin_u, chLatin_b, chLatin_s, chLatin_t, chLatin_i, 764 chLatin_t, chLatin_u, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull 765 }; 766 767 const XMLCh SchemaSymbols::fgATTVAL_ANYTYPE[] = 768 { 769 chLatin_a, chLatin_n, chLatin_y, chLatin_T, chLatin_y, chLatin_p, 770 chLatin_e, chNull 771 }; 772 773 const XMLCh SchemaSymbols::fgWS_PRESERVE[] = 774 { 775 chLatin_p, chLatin_r, chLatin_e, chLatin_s, chLatin_e, chLatin_r, 776 chLatin_v, chLatin_e, chNull 777 }; 778 779 const XMLCh SchemaSymbols::fgWS_COLLAPSE[] = 780 { 781 chLatin_c, chLatin_o, chLatin_l, chLatin_l, chLatin_a, chLatin_p, 782 chLatin_s, chLatin_e, chNull 783 }; 784 785 const XMLCh SchemaSymbols::fgWS_REPLACE[] = 786 { 787 chLatin_r, chLatin_e, chLatin_p, chLatin_l, chLatin_a, chLatin_c, chLatin_e, chNull 788 }; 789 790 const XMLCh SchemaSymbols::fgDT_STRING[] = 791 { 792 chLatin_s, chLatin_t, chLatin_r, chLatin_i, chLatin_n, chLatin_g, chNull 793 }; 794 795 const XMLCh SchemaSymbols::fgDT_TOKEN[] = 796 { 797 chLatin_t, chLatin_o, chLatin_k, chLatin_e, chLatin_n, chNull 798 }; 799 800 const XMLCh SchemaSymbols::fgDT_LANGUAGE[] = 801 { 802 chLatin_l, chLatin_a, chLatin_n, chLatin_g, chLatin_u, chLatin_a, 803 chLatin_g, chLatin_e, chNull 804 }; 805 806 const XMLCh SchemaSymbols::fgDT_NAME[] = 807 { 808 chLatin_N, chLatin_a, chLatin_m, chLatin_e, chNull 809 }; 810 811 const XMLCh SchemaSymbols::fgDT_NCNAME[] = 812 { 813 chLatin_N, chLatin_C, chLatin_N, chLatin_a, chLatin_m, chLatin_e, chNull 814 }; 815 816 const XMLCh SchemaSymbols::fgDT_INTEGER[] = 817 { 818 chLatin_i, chLatin_n, chLatin_t, chLatin_e, chLatin_g, chLatin_e, chLatin_r, chNull 819 }; 820 821 const XMLCh SchemaSymbols::fgDT_DECIMAL[] = 822 { 823 chLatin_d, chLatin_e, chLatin_c, chLatin_i, chLatin_m, chLatin_a, chLatin_l, chNull 824 }; 825 826 const XMLCh SchemaSymbols::fgDT_BOOLEAN[] = 827 { 828 chLatin_b, chLatin_o, chLatin_o, chLatin_l, chLatin_e, chLatin_a, chLatin_n, chNull 829 }; 830 831 const XMLCh SchemaSymbols::fgDT_NONPOSITIVEINTEGER[] = 832 { 833 chLatin_n, chLatin_o, chLatin_n, chLatin_P, chLatin_o, chLatin_s, 834 chLatin_i, chLatin_t, chLatin_i, chLatin_v, chLatin_e, chLatin_I, 835 chLatin_n, chLatin_t, chLatin_e, chLatin_g, chLatin_e, chLatin_r, chNull 836 }; 837 838 const XMLCh SchemaSymbols::fgDT_NEGATIVEINTEGER[] = 839 { 840 chLatin_n, chLatin_e, chLatin_g, chLatin_a, chLatin_t, chLatin_i, 841 chLatin_v, chLatin_e, chLatin_I, chLatin_n, chLatin_t, chLatin_e, 842 chLatin_g, chLatin_e, chLatin_r, chNull 843 }; 844 845 const XMLCh SchemaSymbols::fgDT_LONG[] = 846 { 847 chLatin_l, chLatin_o, chLatin_n, chLatin_g, chNull 848 }; 849 850 const XMLCh SchemaSymbols::fgDT_INT[] = 851 { 852 chLatin_i, chLatin_n, chLatin_t, chNull 853 }; 854 855 const XMLCh SchemaSymbols::fgDT_SHORT[] = 856 { 857 chLatin_s, chLatin_h, chLatin_o, chLatin_r, chLatin_t, chNull 858 }; 859 860 const XMLCh SchemaSymbols::fgDT_BYTE[] = 861 { 862 chLatin_b, chLatin_y, chLatin_t, chLatin_e, chNull 863 }; 864 865 const XMLCh SchemaSymbols::fgDT_NONNEGATIVEINTEGER[] = 866 { 867 chLatin_n, chLatin_o, chLatin_n, chLatin_N, chLatin_e, chLatin_g, 868 chLatin_a, chLatin_t, chLatin_i, chLatin_v, chLatin_e, chLatin_I, 869 chLatin_n, chLatin_t, chLatin_e, chLatin_g, chLatin_e, chLatin_r, chNull 870 }; 871 872 const XMLCh SchemaSymbols::fgDT_ULONG[] = 873 { 874 chLatin_u, chLatin_n, chLatin_s, chLatin_i, chLatin_g, chLatin_n, 875 chLatin_e, chLatin_d, chLatin_L, chLatin_o, chLatin_n, chLatin_g, chNull 876 }; 877 878 const XMLCh SchemaSymbols::fgDT_UINT[] = 879 { 880 chLatin_u, chLatin_n, chLatin_s, chLatin_i, chLatin_g, chLatin_n, 881 chLatin_e, chLatin_d, chLatin_I, chLatin_n, chLatin_t, chNull 882 }; 883 884 const XMLCh SchemaSymbols::fgDT_USHORT[] = 885 { 886 chLatin_u, chLatin_n, chLatin_s, chLatin_i, chLatin_g, chLatin_n, chLatin_e, 887 chLatin_d, chLatin_S, chLatin_h, chLatin_o, chLatin_r, chLatin_t, chNull 888 }; 889 890 const XMLCh SchemaSymbols::fgDT_UBYTE[] = 891 { 892 chLatin_u, chLatin_n, chLatin_s, chLatin_i, chLatin_g, chLatin_n, 893 chLatin_e, chLatin_d, chLatin_B, chLatin_y, chLatin_t, chLatin_e, chNull 894 }; 895 896 const XMLCh SchemaSymbols::fgDT_POSITIVEINTEGER[] = 897 { 898 chLatin_p, chLatin_o, chLatin_s, chLatin_i, chLatin_t, chLatin_i, 899 chLatin_v, chLatin_e, chLatin_I, chLatin_n, chLatin_t, chLatin_e, 900 chLatin_g, chLatin_e, chLatin_r, chNull 901 }; 902 903 const XMLCh SchemaSymbols::fgDT_DATETIME[] = 904 { 905 chLatin_d, chLatin_a, chLatin_t, chLatin_e, 906 chLatin_T, chLatin_i, chLatin_m, chLatin_e, chNull 907 }; 908 909 const XMLCh SchemaSymbols::fgDT_DATE[] = 910 { 911 chLatin_d, chLatin_a, chLatin_t, chLatin_e, chNull 912 }; 913 914 const XMLCh SchemaSymbols::fgDT_TIME[] = 915 { 916 chLatin_t, chLatin_i, chLatin_m, chLatin_e, chNull 917 }; 918 919 const XMLCh SchemaSymbols::fgDT_DURATION[] = 920 { 921 chLatin_d, chLatin_u, chLatin_r, chLatin_a, 922 chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull 923 }; 924 925 const XMLCh SchemaSymbols::fgDT_DAY[] = 926 { 927 chLatin_g, chLatin_D, chLatin_a, chLatin_y, chNull 928 }; 929 930 const XMLCh SchemaSymbols::fgDT_MONTH[] = 931 { 932 chLatin_g, chLatin_M, chLatin_o, chLatin_n, chLatin_t, chLatin_h, chNull 933 }; 934 935 const XMLCh SchemaSymbols::fgDT_MONTHDAY[] = 936 { 937 chLatin_g, chLatin_M, chLatin_o, chLatin_n, chLatin_t, chLatin_h, 938 chLatin_D, chLatin_a, chLatin_y, chNull 939 }; 940 941 const XMLCh SchemaSymbols::fgDT_YEAR[] = 942 { 943 chLatin_g, chLatin_Y, chLatin_e, chLatin_a, chLatin_r, chNull 944 }; 945 946 const XMLCh SchemaSymbols::fgDT_YEARMONTH[] = 947 { 948 chLatin_g, chLatin_Y, chLatin_e, chLatin_a, chLatin_r, 949 chLatin_M, chLatin_o, chLatin_n, chLatin_t, chLatin_h, chNull 950 }; 951 952 const XMLCh SchemaSymbols::fgDT_BASE64BINARY[] = 953 { 954 chLatin_b, chLatin_a, chLatin_s, chLatin_e, chDigit_6, chDigit_4, 955 chLatin_B, chLatin_i, chLatin_n, chLatin_a, chLatin_r, chLatin_y, chNull 956 }; 957 958 const XMLCh SchemaSymbols::fgDT_HEXBINARY[] = 959 { 960 chLatin_h, chLatin_e, chLatin_x, 961 chLatin_B, chLatin_i, chLatin_n, chLatin_a, chLatin_r, chLatin_y, chNull 962 }; 963 964 const XMLCh SchemaSymbols::fgDT_FLOAT[] = 965 { 966 chLatin_f, chLatin_l, chLatin_o, chLatin_a, chLatin_t, chNull 967 }; 968 969 const XMLCh SchemaSymbols::fgDT_DOUBLE[] = 970 { 971 chLatin_d, chLatin_o, chLatin_u, chLatin_b, chLatin_l, chLatin_e, chNull 972 }; 973 974 const XMLCh SchemaSymbols::fgDT_URIREFERENCE[] = 975 { 976 chLatin_u, chLatin_r, chLatin_i, chLatin_R, chLatin_e, chLatin_f, 977 chLatin_e, chLatin_r, chLatin_e, chLatin_n, chLatin_c, chLatin_e, chNull 978 }; 979 980 const XMLCh SchemaSymbols::fgDT_ANYURI[] = 981 { 982 chLatin_a, chLatin_n, chLatin_y, chLatin_U, chLatin_R, chLatin_I, chNull 983 }; 984 985 const XMLCh SchemaSymbols::fgDT_QNAME[] = 986 { 987 chLatin_Q, chLatin_N, chLatin_a, chLatin_m, chLatin_e, chNull 988 }; 989 990 const XMLCh SchemaSymbols::fgDT_NORMALIZEDSTRING[] = 991 { 992 chLatin_n, chLatin_o, chLatin_r, chLatin_m, chLatin_a, chLatin_l, chLatin_i, 993 chLatin_z, chLatin_e, chLatin_d, chLatin_S, chLatin_t, chLatin_r, chLatin_i, 994 chLatin_n, chLatin_g, chNull 995 }; 996 997 const XMLCh SchemaSymbols::fgDT_ANYSIMPLETYPE[] = 998 { 999 chLatin_a, chLatin_n, chLatin_y, chLatin_S, chLatin_i, chLatin_m, chLatin_p, 1000 chLatin_l, chLatin_e, chLatin_T, chLatin_y, chLatin_p, chLatin_e, chNull 1001 }; 1002 1003 const XMLCh SchemaSymbols::fgRegEx_XOption[] = 1004 { 1005 chLatin_X, chNull 1006 }; 1007 1008 const XMLCh SchemaSymbols::fgRedefIdentifier[] = 1009 { 1010 chUnderscore, chLatin_r, chLatin_d, chLatin_f, chLatin_n, chNull 1011 }; 1012 1013 const int SchemaSymbols::fgINT_MIN_VALUE = 0x80000000; 1014 1015 const int SchemaSymbols::fgINT_MAX_VALUE = 0x7fffffff; 1016 1017 XERCES_CPP_NAMESPACE_END 1018 1019 /** 1020 * End of file SchemaSymbols.cpp 1021 */ 1022 1 #include <icxercesc/validators/schema/SchemaSymbols.cpp>
Note: See TracChangeset
for help on using the changeset viewer.