Hi,
This is the wrong list for this question. However, I'll respond, since the
answer is brief. The buffer is not null-terminated, so you need to check
the length of the stream, or add a terminating null.
In the future, please make sure you post to the correct list.
Thanks!
Dave
|---------+--------------------------->
| | Kai-Uwe Schmidt |
| | <[EMAIL PROTECTED]> |
| | |
| | 04/20/2004 09:58|
| | AM |
| | Please respond |
| | to xerces-c-dev |
|---------+--------------------------->
>--------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc: (bcc: David N Bertoni/Cambridge/IBM)
|
| Subject: transform in Xalan
|
>--------------------------------------------------------------------------------------------------------------------------|
Hi Folks,
i have a strange problem with the transform method working in-memory.
Based on the streamtranform sample i got the following:
XALAN_USING_STD(ostrstream)
ostrstream os;
theResult = theXalanTransformer.transform(&streamXMLStream, inputSource,
&os);
with os.str() i get a string. but this string is kinda noisy at the end.
The transformation should get me like 361 byte but i get like 536. the last
175 bytes are garbage. am i doing something wrong here ?
Kai-Uwe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]