diff --git a/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/rule/DomXPathRule.java b/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/rule/DomXPathRule.java index d6e5b82829..3ecd8ed109 100644 --- a/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/rule/DomXPathRule.java +++ b/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/rule/DomXPathRule.java @@ -23,7 +23,7 @@ import net.sourceforge.pmd.reporting.RuleContext; * class is strongly recommended over the standard {@link XPathRule}, which * is mostly useful in other PMD languages. * - *

Differences with {@link XPathRule}

+ *

Differences with {@link XPathRule}

* * This rule and {@link XPathRule} do not accept exactly the same queries, * because {@link XPathRule} implements the XPath spec in an ad-hoc way. @@ -68,7 +68,7 @@ import net.sourceforge.pmd.reporting.RuleContext; *

Additionally, this rule only supports XPath 2.0, with no option * for configuration. This will be bumped to XPath 3.1 in PMD 7. * - *

Namespace-sensitivity

+ *

Namespace-sensitivity

* *

Another important difference is that this rule is namespace-sensitive. * If the tested XML documents use a schema ({@code xmlns} attribute on the root),