Brent Putman schrieb: > One of our OpenSAML users was inquiring about support for verifying > signatures with XPointer References. His specific use case was: > URI="#xpointer(/*[local-name()='Envelope']/*[local-name()='Header']/*[local-name()='Security']/*[local-name()='Assertion'][1])" > > From looking at the code, it seems the XPointer ResourceResolver impl > currently available in the Java library > (org.apache.xml.security.utils.resolver.implementations.ResolverXPointer) > only supports simple XPointers of the form "#xpointer(id(ID_VALUE))" or > the literal value "#xpointer(/)". > > Are there any plans to offer a more full-featured XPointer > ResourceResolver implementation? Does anyone know of any available > "unofficial" implementations?
Hi Brent, I recently posted an implementation which uses a JAVA 1.5 API in order to support fully-fledged XPointer references: http://article.gmane.org/gmane.text.xml.security.devel/5704 Please feel free to modify this code for your needs. Maybe we should open an issue in bugzilla in order to get this code into the xmlsec-1.5 release. Regards, Wolfgang