Changeset 151 for trunk/src/symtab.c


Ignore:
Timestamp:
May 22, 2008, 2:42:11 PM (11 years ago)
Author:
lindanl
Message:

Performance test definitions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/symtab.c

    r141 r151  
    208208        name[lgth] = delim;     
    209209        if (nameID == 0){
     210        #if (not defined(OMISSION)) or (OMISSION != NAME_VALIDATION)
    210211                if (!is_XML10_UTF8_Name(name,lgth)) {
    211212                        ShowSyntaxError(NT_Name);
    212213                        exit(-1);
    213214                }
     215        #endif
    214216                char * s = copy_name(name,lgth);
    215217                UTF8NameMap[s]=++(globalNameCount);
     
    228230        int nameID = UTF8NameMap[s];
    229231        if(nameID == 0){
     232        #if (not defined(OMISSION)) or (OMISSION != NAME_VALIDATION)
    230233                if (!is_XML11_UTF8_Name(name,lgth))  {
    231234                        ShowSyntaxError(NT_Name);
    232235                        exit(-1);
    233236                }
     237        #endif
    234238                UTF8NameMap[s]=++(globalNameCount);
    235239                nameID = globalNameCount;
Note: See TracChangeset for help on using the changeset viewer.