*** libxml2-2.6.31-orig/xinclude.c	2008-02-04 10:07:26.000000000 -0500
--- libxml2-2.6.31/xinclude.c	2008-02-05 08:26:49.000000000 -0500
***************
*** 520,525 ****
--- 520,527 ----
      }
      if (href[0] == '#')
  	local = 1;
+     if (xmlStrEqual(href,""))
+ 	local = 1;
      parse = xmlXIncludeGetProp(ctxt, cur, XINCLUDE_PARSE);
      if (parse != NULL) {
  	if (xmlStrEqual(parse, XINCLUDE_PARSE_XML))
