git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2279
d4fa192b-c00b-0410-8231-
f00ffab90ce4
* XXX: all of it, or do we leave the final
* XXX: element dangling ?
*/
- INCOMPL();
+ esi_error(ew, p, ew->t.e -p,
+ "XML 1.0 incomplete language element");
+ ew->dst.b = p;
+ ew->dst.e = ew->t.e;
+ esi_addbit(ew);
+ break;
}
/* Move remainder to workspace */
/* 'p' is cached starting point for next storage part */
}
+ if (ew->remflg)
+ esi_error(ew, NULL, 0,
+ "ESI 1.0 unterminated <esi:remove> element");
+ if (ew->incmt)
+ esi_error(ew, NULL, 0,
+ "ESI 1.0 unterminated <!--esi comment");
+
if (!ew->is_esi) {
ESI_Destroy(sp->obj);
return;