--- xmlIO.c	2014-10-13 10:17:39.000000000 +0200
+++ xmlIO.c	2015-08-20 09:09:22.000000000 +0200
@@ -918,4 +918,11 @@
 	path = &filename[7];
 #endif
+    } else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file://", 7)) {
+        /* Windows UNC path needs to start with // */
+#if defined (_WIN32) || defined (__DJGPP__) && !defined(__CYGWIN__)
+	path = &filename[5];
+#else
+	path = &filename[5];
+#endif
     } else if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "file:/", 6)) {
         /* lots of generators seems to lazy to read RFC 1738 */
