mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-27 10:15:10 +00:00
Squashed 'SpiffWorkflow/' changes from cd4da465e..46f410a28
46f410a28 Merge pull request #265 from sartography/bugfix/spiff-script-errors ffe07df7b correct xpath for extensions git-subtree-dir: SpiffWorkflow git-subtree-split: 46f410a2852baeedc8f9ac5165347ce6d4470594
This commit is contained in:
parent
37b7f3d7cd
commit
d2af3e7252
@ -23,7 +23,7 @@ class SpiffTaskParser(TaskParser):
|
||||
extensions = {}
|
||||
extra_ns = {SPIFFWORKFLOW_MODEL_PREFIX: SPIFFWORKFLOW_MODEL_NS}
|
||||
xpath = xpath_eval(node, extra_ns)
|
||||
extension_nodes = xpath(f'.//bpmn:extensionElements/{SPIFFWORKFLOW_MODEL_PREFIX}:*')
|
||||
extension_nodes = xpath(f'./bpmn:extensionElements/{SPIFFWORKFLOW_MODEL_PREFIX}:*')
|
||||
for node in extension_nodes:
|
||||
name = etree.QName(node).localname
|
||||
if name == 'properties':
|
||||
|
Loading…
x
Reference in New Issue
Block a user