[xml] Reading compressed remote entities
- From: Ralf Corsepius <rc040203 freenet de>
- To: xml list <xml gnome org>
- Subject: [xml] Reading compressed remote entities
- Date: Wed, 14 Dec 2005 15:24:48 +0100
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]