Skip to content
This repository
JDOM2-Feature-XPath-Upgrade.md
... ... @@ -26,7 +26,7 @@ Thus, using the namespaces on the context to 'augment' the compiled XPath expres
26 26 ### The XPath string, boolean, and number value:
27 27
28 28 The XPath class has the functions: valueOf(), numberVaueOf(), and booleanValueOf(). These functions relate to the fact that XPath expressions can return values of these types.
29   -But, the XPath-way to do funtions like this would be to use the appropriate XPath function: string(), number(), or boolean(). These JDOM XPath methods are just 'sugar functions' that closely resemble functionality that is built in to the Jaxen library only.
  29 +But, the XPath-way to do functions like this would be to use the appropriate XPath function: string(), number(), or boolean(). These JDOM XPath methods are just 'sugar functions' that closely resemble functionality that is built in to the Jaxen library only.
30 30
31 31 In a generic-typed world, it makes sense to remove these functions and replace them with appropriately typed generic functions. Additionally, XPath 2.0 has a multitude of return types, not just String, Double, and Boolean.
32 32
Something went wrong with that request. Please try again.