src/java.xml/share/classes/javax/xml/xpath/XPath.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 40,51 **** * </tr> * </thead> * <tr> * <td>context</td> * <td> ! * 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. * </td> * </tr> * <tr> --- 40,53 ---- * </tr> * </thead> * <tr> * <td>context</td> * <td> ! * 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. * </td> * </tr> * <tr>