xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Lilley <jlil...@datalever.com>
Subject RE: parse compressed xml-files with xerces-c++
Date Thu, 03 Sep 2009 12:38:21 GMT
It may simplify matters to spawn the decompressor program (easier on *Nix than Windows) and
read from its output pipe.  

-----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.


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.

View raw message