You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Colin Paul Adams <co...@colina.demon.co.uk> on 2003/02/01 17:23:12 UTC

Transcoder block size

In the constructors for transcoders, such as XMLUTF8Transcoder, there
is a block size parameter. According to the comments in the header
file, this parameter limits the maximum size of data that can be
converted by one call to transcodeFrom or transcodeTo. My experience
(with the latest nightly build) is that is not so - the blocksize is
irrelevant (except for possible performance implications). Provided I
code the right maximum size  in the call to transcodeTo or
TranscodeFrom, then even with a blockSize of 4 bytes specified in the
constructor, all is OK.
-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Transcoder block size

Posted by PeiYong PY Zhang <pe...@ca.ibm.com>.
Colin,

    Would you please open a bug report at bugzilla? thanks.

Rgds,
PeiYong

----- Original Message ----- 
From: "Colin Paul Adams" <co...@colina.demon.co.uk>
To: <xe...@xml.apache.org>
Sent: Saturday, February 01, 2003 11:23 AM
Subject: Transcoder block size


> In the constructors for transcoders, such as XMLUTF8Transcoder, there
> is a block size parameter. According to the comments in the header
> file, this parameter limits the maximum size of data that can be
> converted by one call to transcodeFrom or transcodeTo. My experience
> (with the latest nightly build) is that is not so - the blocksize is
> irrelevant (except for possible performance implications). Provided I
> code the right maximum size  in the call to transcodeTo or
> TranscodeFrom, then even with a blockSize of 4 bytes specified in the
> constructor, all is OK.
> -- 
> Colin Paul Adams
> Preston Lancashire
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org