--- old/src/java.xml/share/classes/javax/xml/xpath/package-info.java 2018-03-21 11:17:39.384855717 -0700 +++ new/src/java.xml/share/classes/javax/xml/xpath/package-info.java 2018-03-21 11:17:38.524771587 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2018, 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 @@ -50,7 +50,7 @@ * *
* The XPath language provides a simple, concise syntax for selecting @@ -69,7 +69,7 @@ * * * - *
* An XPath expression is composed of a location
@@ -211,7 +211,7 @@
*
*
*
- *
* While XPath expressions select nodes in the XML document, the XPath
@@ -225,7 +225,7 @@
*
*
*
- *
* XPath location paths may be relative to a particular node in the
@@ -301,7 +301,7 @@
* {@link org.w3c.dom.Node} for example, in the JDK implementation.
*
*
- * 3. XPath Data Types
+ * 3. XPath Data Types
*
* 3.1 QName types
+ * 3.1 QName types
* The XPath API defines the following {@link javax.xml.namespace.QName} types to
* represent return types of an XPath evaluation:
*
@@ -258,7 +258,7 @@
* of a node to a
double
data type.
*
*
- * 3.2 Class types
+ * 3.2 Class types
* In addition to the QName types, the XPath API supports the use of Class types
* through the XPathExpression.evaluteExpression(...)
or
* XPath.evaluateExpression(...)
methods.
@@ -276,14 +276,14 @@
* Of the subtypes of Number, only Double, Integer and Long are supported.
*
*
- * 3.3 Enum types
+ * 3.3 Enum types
* Enum types are defined in {@link javax.xml.xpath.XPathEvaluationResult.XPathResultType}
* that provide mappings between the QName and Class types above. The result of
* evaluating an expression using the XPathExpression.evaluteExpression(...)
* or XPath.evaluateExpression(...)
methods will be of one of these types.
*
*
- * 4. XPath Context
+ * 4. XPath Context
*
* 5. Using the XPath API
+ * 5. Using the XPath API
*
* Consider the following XML document:
*