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


_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to