santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Benito <r...@apache.org>
Subject Re: TRANSFORM_XPATH2FILTER question
Date Mon, 30 Jan 2006 08:39:43 GMT
Hi Stefeno,

I think you have hit a bug in the changes I do for xpath between 1.2
and 1.3, do you mind to open a bug report in bugzilla?
Please, attach a test case that shos the bug(This increase the speed
of fix a lot...).

Regards,

On 1/27/06, Berin Lautenbach <berin@wingsofhermes.org> wrote:
>
> Stefano Del Sal wrote:
> > I'm trying to sign a document using the transform TRANSFORM_XPATH2FILTER,
> > but I get a bad signature if I try to use ONLY the filter
> > XPath2FilterContainer.SUBTRACT
> >
> > 1) Ex:
> > String filters[][] = {
> >    {XPath2FilterContainer.SUBTRACT, "//NotToBeSigned"}
> >    };
> > transforms.addTransform(
> >    Transforms.TRANSFORM_XPATH2FILTER,
> >    XPath2FilterContainer.newInstances(doc, filters)
> > );
>
> I'm assuming that the input nodeset is everything in the document?
> (E.g. URI="").  If that's the case then this is a bug.  Adding a union
> (as in your second example) should not change the input node set for the
> subtraction filter.
>
> Unfortunately I'm not close enough to this code to fix it quickly.
>
> Raul - do you know if anything changed in this area with the
> optimisation work?
>
> Cheers,
>         Berin
>


--
http://r-bg.com

Mime
View raw message