[xml] Reading compressed remote entities



Hi,

I am trying to read compressed entities (*.xml.gz) using 
xmlReadFile or xmlParseFile.

This seem to work fine if these compressed entities are on a local
filesystem, but fails if the file name points to a remote file.

i.e.

xmlParseFile("/somewhere/foo.xml.gz");

works, but

xmlParseFile("http://somesite/foo.xml.gz";);

gives:
http://somesite/foo.xml.gz": parser error : Start tag expected, '<' not
found

Seems as if xmlParseFile/xmlReadFile are to parse the "compressed raw
data" as "uncompressed rawdata", for remote entities.

Bug? Or am I missing something?

Ralf





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]