Apply suggestions from code review

Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
Tony Torralba
2021-05-06 15:17:55 +02:00
committed by GitHub
parent f1fab854c4
commit f16605b3c1

View File

@@ -29,10 +29,10 @@ for different values.
</p>
<p>
In the fourth example, the code uses `setXPathVariableResolver` which prevents XPath injection.
In the fourth example, the code uses <code>setXPathVariableResolver</code> which prevents XPath injection.
</p>
<p>
The fifth example is a dom4j XPath injection example.
The final two examples are for dom4j. They show an example of XPath injection and one method of preventing it.
</p>
<sample src="XPathInjection.java" />
</example>