19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:27 +01:00
parent d1963a3c3a
commit 2d3ee4855a
7430 changed files with 2687981 additions and 2965473 deletions

View file

@ -83,6 +83,8 @@ def locate_node(arch, spec):
"""
if spec.tag == 'xpath':
expr = spec.get('expr')
if expr is None:
raise ValidationError(_lt("Missing 'expr' attribute in xpath specification"))
try:
xPath = etree.ETXPath(expr)
except etree.XPathSyntaxError as e: