Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8087283

Add support for the XML Signature here() function to the JDK XPath implementation

XMLWordPrintable

        XML Signature defines an XPath here function (http://www.w3.org/TR/xmldsig-core1/#function-here) that returns a node-set containing the attribute or processing instruction node or the parent element of the text node that directly bears the XPath expression. The here function is not defined in its own namespace. Therefore it needs to be implemented by extending the function library of XPath in the same namespace.

        Currently, the JDK XML Signature implementation uses reflection to invoke a method of an implementation-specific class in the JDK XPath library to register the here function. It would be much easier and cleaner to extend the built-in set of XPath functions to include the here function.

              mullan Sean Mullan
              mullan Sean Mullan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: