Search code examples
javaxmlxpathopen-sourcexml-signature

Open Source XPath Filter 2.0 implementation


Does anyone know of an open source implementation for XPath Filter 2.0, preferrably in Java? But any other language would also be fine. The standard is not that new, so something should exist, but I can't find anything...

If there really is nothing adequate, has anyone ever implemented it and could tell me how difficult it is getting there with standard means (DOM model plus XPath)? Just a rough estimate, would it be a matter of days or rather of weeks for 2 people working full time on it?


Solution

  • Did you have a look at the Apache Santuario library?

    It comes with a class that implements XML Signature XPath Filter v2.0:

    TransformXPath2Filter

    Further implementations are listed here (though I haven't checked any of these):

    XML Signature XPath Filter2 Interop Report