Changeset 171 for trunk/src/symtab.c


Ignore:
Timestamp:
Jun 25, 2008, 2:24:37 PM (11 years ago)
Author:
lindanl
Message:

XML 5th edition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/symtab.c

    r169 r171  
    247247        if(nameID == 0){
    248248        #if (not defined(OMISSION)) or (OMISSION != NAME_VALIDATION)
     249#ifdef EDITION5
     250                if (!is_XML11_UTF8_Name(name,lgth))  {
     251                        ShowSyntaxError(NT_Name);
     252                        exit(-1);
     253                }
     254#endif
     255#ifndef EDITION5
    249256                if (!is_XML10_UTF8_Name(name,lgth))  {
    250257                        if (version == XML_1_1) {
     
    259266                        }
    260267                }
     268#endif
    261269        #endif
    262270//              char * s = copy_name(name,lgth);
Note: See TracChangeset for help on using the changeset viewer.