You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by David Wojnar <da...@gmx.de> on 2009/09/02 14:48:29 UTC
parse compressed xml-files with xerces-c++
Hi,
I'm new to xerces and i was wondering whether there is a way to parse
compressed files(zlib,gzip and so on) with xerces directly?
thank you in advance,
D.W.
RE: parse compressed xml-files with xerces-c++
Posted by John Lilley <jl...@datalever.com>.
It may simplify matters to spawn the decompressor program (easier on *Nix than Windows) and read from its output pipe.
john
-----Original Message-----
From: Alberto Massari [mailto:amassari@datadirect.com]
Sent: Thursday, September 03, 2009 2:16 AM
To: c-users@xerces.apache.org
Subject: Re: parse compressed xml-files with xerces-c++
There is no built-in support for unzipping a source document on the fly;
you should implement it by deriving a new class from InputSource (using
MemBufInputSource as a template) where you decompress the file when
requested for a new chunk of data.
Alberto
David Wojnar wrote:
> Hi,
> I'm new to xerces and i was wondering whether there is a way to parse
> compressed files(zlib,gzip and so on) with xerces directly?
>
> thank you in advance,
> D.W.
>
Re: parse compressed xml-files with xerces-c++
Posted by Alberto Massari <am...@datadirect.com>.
There is no built-in support for unzipping a source document on the fly;
you should implement it by deriving a new class from InputSource (using
MemBufInputSource as a template) where you decompress the file when
requested for a new chunk of data.
Alberto
David Wojnar wrote:
> Hi,
> I'm new to xerces and i was wondering whether there is a way to parse
> compressed files(zlib,gzip and so on) with xerces directly?
>
> thank you in advance,
> D.W.
>