1813a1814,1815
>     xmlParserCtxtPtr pctxt;
>     xmlParserInputPtr inputStream;
1888c1890,1895
<     buf = xmlParserInputBufferCreateFilename((const char *)URL, enc);
---
>     pctxt = xmlNewParserCtxt();
>     inputStream = xmlLoadExternalEntity(URL, NULL, pctxt);
>     if(inputStream == NULL) {
>       return(-1);
>     }
>     buf = inputStream->buf;
