Been trying to get
an answer to my question very patiently.
I thought I would
try it a third time and see if anyone is interested in my
question.
I am using Apache
Java library for XMLDsig. Version is 1.05D2.
I want to add a xslt
transform to the <reference uri="">.
It all works fine as
long as I do not have an <xsl:sort> in my stylesheet.
If I put the
<xsl:sort> in my stylesheet then I get a
TransformerConfigurationException.
There is nothing
wrong with the stylesheet itself when I have the <xsl:sort> in it, which I
have verified in other ways. For example by using the SignatureInput class and
other third party tools.
However when I try
to sign I always get an error when the stylesheet contains the
<xsl:sort>.
Does anyone know why
this is the case?
I have tried the
same thing with other libraries: The IXSIL commercial java library and the
xmlsec C library.
Both of them work
just fine. Only Apache gives me the error.
One last think I
should mention, if I use the same stylesheet with the <xsl:sort> and add
the transform as part of a manifest (as in the merlin example) then it works
fine with Apache.
I would like to use
Apache, so I hope that I can get some answers this time. Otherwise I guess I
will have to look elsewhere which will be disappointing.
Thanks,
--
Sanjay