| 1870 | ************************************************************************/ |
| 1871 | |
| 1872 | static int |
| 1873 | xmlIsAbsolutePath(const xmlChar *path) { |
| 1874 | int c = path[0]; |
| 1875 | |
| 1876 | if (xmlIsPathSeparator(c, 1)) |
| 1877 | return(1); |
| 1878 | |
| 1879 | #if defined(_WIN32) || defined(__CYGWIN__) |
| 1880 | if ((((c >= 'A') && (c <= 'Z')) || |
| 1881 | ((c >= 'a') && (c <= 'z'))) && |
| 1882 | (path[1] == ':')) |
| 1883 | return(1); |
| 1884 | #endif |
| 1885 | |
| 1886 | return(0); |
| 1887 | } |
| 1888 | |
| 1889 | /** |
| 1890 | * xmlResolvePath: |
no test coverage detected