changeset 52372:5096007944cf

8212871: Broken links give 401-Unauthorized Reviewed-by: lancea
author joehw
date Thu, 01 Nov 2018 09:41:04 -0700
parents ae4967993e17
children c9bbf33fd1ae
files src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathEvaluator.java src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathException.java src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathExpression.java src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathNSResolver.java src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathNamespace.java src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathResult.java
diffstat 6 files changed, 13 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathEvaluator.java	Thu Nov 01 09:34:59 2018 -0700
+++ b/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathEvaluator.java	Thu Nov 01 09:41:04 2018 -0700
@@ -61,7 +61,7 @@
  * from other sources that could provide specific support for specialized
  * extension functions or variables as would be defined by other
  * specifications.
- * <p>See also the <a href='http://www.w3.org/2002/08/WD-DOM-Level-3-XPath-20020820'>Document Object Model (DOM) Level 3 XPath Specification</a>.
+ * <p>See also the <a href='https://www.w3.org/TR/DOM-Level-3-XPath/'>Document Object Model (DOM) Level 3 XPath Specification</a>.
  */
 public interface XPathEvaluator {
     /**
--- a/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathException.java	Thu Nov 01 09:34:59 2018 -0700
+++ b/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathException.java	Thu Nov 01 09:41:04 2018 -0700
@@ -44,7 +44,14 @@
 /**
  * A new exception has been created for exceptions specific to these XPath
  * interfaces.
- * <p>See also the <a href='http://www.w3.org/2002/08/WD-DOM-Level-3-XPath-20020820'>Document Object Model (DOM) Level 3 XPath Specification</a>.
+ *
+ * See also <a href='https://www.w3.org/TR/DOM-Level-3-XPath/'>
+ * Document Object Model (DOM) Level 3 XPath Specification, Version 1.0,
+ * W3C Working Group Note 26 February 2004</a>
+ * Note that this class came from Document Object Model (DOM) Level 3 XPath
+ * Specification, Working Draft 20 August 2002 where the values of
+ * {@link #INVALID_EXPRESSION_ERR} and {@link #TYPE_ERR}
+ * are 1 and 2 respectively (instead of 51 and 52 as in the 2004 version).
  */
 public class XPathException extends RuntimeException {
     private static final long serialVersionUID = 3471034171575979943L;
--- a/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathExpression.java	Thu Nov 01 09:34:59 2018 -0700
+++ b/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathExpression.java	Thu Nov 01 09:41:04 2018 -0700
@@ -48,7 +48,7 @@
 /**
  * The <code>XPathExpression</code> interface represents a parsed and resolved
  * XPath expression.
- * <p>See also the <a href='http://www.w3.org/2002/08/WD-DOM-Level-3-XPath-20020820'>Document Object Model (DOM) Level 3 XPath Specification</a>.
+ * <p>See also the <a href='https://www.w3.org/TR/DOM-Level-3-XPath/'>Document Object Model (DOM) Level 3 XPath Specification</a>.
  */
 public interface XPathExpression {
     /**
--- a/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathNSResolver.java	Thu Nov 01 09:34:59 2018 -0700
+++ b/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathNSResolver.java	Thu Nov 01 09:41:04 2018 -0700
@@ -48,7 +48,7 @@
  * <code>namespaceURI</code> strings. <code>XPathEvaluator</code> can
  * construct an implementation of <code>XPathNSResolver</code> from a node,
  * or the interface may be implemented by any application.
- * <p>See also the <a href='http://www.w3.org/2002/08/WD-DOM-Level-3-XPath-20020820'>Document Object Model (DOM) Level 3 XPath Specification</a>.
+ * <p>See also the <a href='https://www.w3.org/TR/DOM-Level-3-XPath/'>Document Object Model (DOM) Level 3 XPath Specification</a>.
  */
 public interface XPathNSResolver {
     /**
--- a/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathNamespace.java	Thu Nov 01 09:34:59 2018 -0700
+++ b/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathNamespace.java	Thu Nov 01 09:41:04 2018 -0700
@@ -74,7 +74,7 @@
  * future versions of the XPath specification, the definition of a namespace
  * node may be changed incomatibly, in which case incompatible changes to
  * field values may be required to implement versions beyond XPath 1.0.
- * <p>See also the <a href='http://www.w3.org/2002/08/WD-DOM-Level-3-XPath-20020820'>Document Object Model (DOM) Level 3 XPath Specification</a>.
+ * <p>See also the <a href='https://www.w3.org/TR/DOM-Level-3-XPath/'>Document Object Model (DOM) Level 3 XPath Specification</a>.
  */
 public interface XPathNamespace extends Node {
     // XPathNodeType
--- a/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathResult.java	Thu Nov 01 09:34:59 2018 -0700
+++ b/src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathResult.java	Thu Nov 01 09:41:04 2018 -0700
@@ -51,7 +51,7 @@
  * node. Since evaluation of an XPath expression can result in various
  * result types, this object makes it possible to discover and manipulate
  * the type and value of the result.
- * <p>See also the <a href='http://www.w3.org/2002/08/WD-DOM-Level-3-XPath-20020820'>Document Object Model (DOM) Level 3 XPath Specification</a>.
+ * <p>See also the <a href='https://www.w3.org/TR/DOM-Level-3-XPath/'>Document Object Model (DOM) Level 3 XPath Specification</a>.
  */
 public interface XPathResult {
     // XPathResultType