version 1.63, 1999/03/25 17:39:00
|
version 1.64, 1999/04/15 08:13:13
|
Line 302 const char *path;
|
Line 302 const char *path;
|
strcpy (temppath, path); |
strcpy (temppath, path); |
ExtractSuffix (temppath, suffix); |
ExtractSuffix (temppath, suffix); |
|
|
if (!strcasecmp (suffix, "xml")) |
if (!strcasecmp (suffix, "xml") || |
|
!strcasecmp (suffix, "xht") || |
|
!strcmp (suffix, "xhtm") || |
|
!strcmp (suffix, "xhtml")) |
return (TRUE); |
return (TRUE); |
else if (!strcmp (suffix, "gz")) |
else if (!strcmp (suffix, "gz")) |
{ |
{ |
/* take into account compressed files */ |
/* take into account compressed files */ |
ExtractSuffix (temppath, suffix); |
ExtractSuffix (temppath, suffix); |
if (!strcasecmp (suffix, "xml")) |
if (!strcasecmp (suffix, "xml") || |
|
!strcasecmp (suffix, "xht") || |
|
!strcmp (suffix, "xhtm") || |
|
!strcmp (suffix, "xhtml")) |
return (TRUE); |
return (TRUE); |
else |
else |
return (FALSE); |
return (FALSE); |