8212871: Broken links give 401-Unauthorized

Reviewed-by: lancea
This commit is contained in:
Joe Wang 2018-11-01 09:41:04 -07:00
parent cb73851579
commit 2c4392d433
6 changed files with 13 additions and 6 deletions

View File

@ -61,7 +61,7 @@ import org.w3c.dom.DOMException;
* 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 {
/**

View File

@ -44,7 +44,14 @@ package org.w3c.dom.xpath;
/**
* 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;

View File

@ -48,7 +48,7 @@ import org.w3c.dom.DOMException;
/**
* 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 {
/**

View File

@ -48,7 +48,7 @@ package org.w3c.dom.xpath;
* <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 {
/**

View File

@ -74,7 +74,7 @@ import org.w3c.dom.Node;
* 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

View File

@ -51,7 +51,7 @@ import org.w3c.dom.DOMException;
* 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