Diff for /Amaya/amaya/AHTURLTools.c between versions 1.196 and 1.197

version 1.196, 2006/04/13 15:50:41 version 1.197, 2006/05/31 14:40:54
Line 533  ThotBool IsHTMLName (const char *path) Line 533  ThotBool IsHTMLName (const char *path)
       if (!strcmp (nsuffix, "html") ||        if (!strcmp (nsuffix, "html") ||
           !strcmp (nsuffix, "htm") ||            !strcmp (nsuffix, "htm") ||
           !strcmp (nsuffix, "shtml") ||            !strcmp (nsuffix, "shtml") ||
             !strcmp (nsuffix, "asp") ||
           !strcmp (nsuffix, "jsp") ||            !strcmp (nsuffix, "jsp") ||
           !strcmp (nsuffix, "tpl") ||            !strcmp (nsuffix, "tpl") ||
           !strcmp (nsuffix, "xht") ||            !strcmp (nsuffix, "xht") ||
Line 561  ThotBool IsHTMLName (const char *path) Line 562  ThotBool IsHTMLName (const char *path)
           if (!strcmp (nsuffix, "html") ||            if (!strcmp (nsuffix, "html") ||
               !strcmp (nsuffix, "htm") ||                !strcmp (nsuffix, "htm") ||
               !strcmp (nsuffix, "shtml") ||                !strcmp (nsuffix, "shtml") ||
                 !strcmp (nsuffix, "asp") ||
               !strcmp (nsuffix, "jsp") ||                !strcmp (nsuffix, "jsp") ||
               !strcmp (nsuffix, "tpl") ||                !strcmp (nsuffix, "tpl") ||
               !strcmp (nsuffix, "xht") ||                !strcmp (nsuffix, "xht") ||
Line 671  ThotBool IsXMLName (const char *path) Line 673  ThotBool IsXMLName (const char *path)
   
   if (!strcasecmp (suffix, "xml") ||    if (!strcasecmp (suffix, "xml") ||
       !strcasecmp (suffix, "xht") ||        !strcasecmp (suffix, "xht") ||
         !strcasecmp (suffix, "xtd") ||
       !strcmp (suffix, "xhtm") ||        !strcmp (suffix, "xhtm") ||
       !strcmp (suffix, "xhtml") ||        !strcmp (suffix, "xhtml") ||
       !strcmp (suffix, "smi") ||        !strcmp (suffix, "smi") ||
Line 682  ThotBool IsXMLName (const char *path) Line 685  ThotBool IsXMLName (const char *path)
       TtaExtractSuffix (temppath, suffix);               TtaExtractSuffix (temppath, suffix);       
       if (!strcasecmp (suffix, "xml") ||        if (!strcasecmp (suffix, "xml") ||
           !strcasecmp (suffix, "xht") ||            !strcasecmp (suffix, "xht") ||
             !strcasecmp (suffix, "xtd") ||
           !strcmp (suffix, "xhtm") ||            !strcmp (suffix, "xhtm") ||
           !strcmp (suffix, "xhtml") ||            !strcmp (suffix, "xhtml") ||
           !strcmp (suffix, "smi") |            !strcmp (suffix, "smi") |

Removed from v.1.196  
changed lines
  Added in v.1.197


Webmaster