You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Sean Mullan <Se...@Sun.COM> on 2005/09/08 18:08:35 UTC
Re: Error message signing external content as FileInputStream
Try using the 1.3 RC jar. Should be fixed.
Hess Yvan wrote:
> Hi,
>
> I sign a XML document having an external content using java version
> 1.2.1. I pass the external content as a FileInputStream into the
> XMLSignatureInput constructor and I got on the error console the
> following message "Mark Suported but not used as reset". I checked the
> source code and I saw the following instruction into the method
> XMLSignatureInput.getResetableInputStream() that generates this error
> message and then the inputstream is converted into bytes.
>
> if (_inputOctetStreamProxy.markSupported())
> {
> System.err.println("Mark Suported but not used as reset");
> }
> bytes=JavaUtils.getBytesFromStream(_inputOctetStreamProxy);
>
> Can somebody explain me why it is like that ? Why an error message is
> displayed ? Is it better to use a ByteArrayInputStream and in this case
> what about memory usage ?
>
> Regards. Yvan Hess
>
>