Update pmd-core/src/main/java/net/sourceforge/pmd/lang/rule/xpath/internal/SaxonXPathRuleQuery.java

Co-authored-by: Clément Fournier <clem.fournier@proton.me>
This commit is contained in:
Juan Martín Sotuyo Dodero
2024-04-28 12:37:42 -03:00
committed by GitHub
parent 124f908ca8
commit fbb4648efc

View File

@@ -264,6 +264,7 @@ public class SaxonXPathRuleQuery {
StaticContextWithProperties(Configuration config) {
super(config);
// This statement is necessary for Saxon to support sequence-valued attributes
getPackageData().setSchemaAware(true);
}