JDK-8015978 : Incorrect transformation of XPath expression "string(-0)"
Type:Bug
Component:xml
Sub-Component:javax.xml.xpath
Affected Version:8
Priority:P3
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2013-06-05
Updated:2014-02-12
Resolved:2013-06-14
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
According to http://www.w3.org/TR/xpath/#function-string the XPath expression should be converted to '0' string. In current version it's converted to '-0'.