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:[email protected]] 
Sent: Thursday, September 03, 2009 2:16 AM
To: [email protected]
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.
>

Reply via email to