You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use variable substitution with a namespace, I want to be able to substitute the variable.
Steps To Reproduce
1. Create a xml file with a namespace
e.g.
<namespace:root>
<path>
<to>
<node></node>
</to>
</path>
</namespace:root>
2. in a realm.json document use the variable substitution with the xml file and a XPath including the namespace element
e.g.
$(xml:src/test/resources/document.xml:/namspace:root/path/to/node)
Current Behavior
When I use the variable substitution for xml XPath like
$(xml:src/test/resources/document.xml:/namspace:root/path/to/node)
with a xml file looking like
I get the following error
Bad XML key format ... expected format is DocumentPath:XPath.
Which is probably originating from here apache commons-text
Expected Behavior
When I use variable substitution with a namespace, I want to be able to substitute the variable.
Steps To Reproduce
Environment
Anything else?
Is there an option to use xml files with namespaces in another way?
Maybe there is an option to make the split char configurable? Could be necessary to change the definition of split char in the apache repo?
The text was updated successfully, but these errors were encountered: