--- old/src/java.xml/share/classes/javax/xml/xpath/XPath.java 2016-08-16 14:04:05.776315636 -0700 +++ new/src/java.xml/share/classes/javax/xml/xpath/XPath.java 2016-08-16 14:04:05.664310036 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,18 +34,20 @@ * * * - * - * - * - * - * - * - * - * + * + * + * + * + * + * + * * *
Evaluation of XPath Expressions.
context - * If a request is made to evaluate the expression in the absence - * of a context item, an empty document node will be used for the context. - * For the purposes of evaluating XPath expressions, a DocumentFragment - * is treated like a Document node. + *
Evaluation of XPath Expressions.
context + * The type of the context is implementation-dependent. If the value is + * null, the operation must have no dependency on the context, otherwise + * an XPathExpressionException will be thrown. + * + * For the purposes of evaluating XPath expressions, a DocumentFragment + * is treated like a Document node. *