insomnia
insomnia copied to clipboard
[Bug] Unable to add colon to XPath queries
Description While receiving an XML response and attempting to filter the response using XPath, if the path contains a colon inside of it, "Invalid XPath query" error will be thrown, although it is a valid path, for example //s:path
Example The following response is impossible to query: <s:Envelope> <s:Body> </s:Body> </s:Envelope>
If now I will query the following: //s:Envelope I will get the Invalid XPath query error.
Info According to the XPath 3.1 documentation and according to various desktop and online XML editors it is a valid query. Though from what I understand, the npm package xpath is using XPath1.0, might that be the issue?
👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. If you're requesting a feature 🎁, please provide real use cases that would benefit. 👪
To help make this a smooth process, please be sure you have first read the contributing guidelines.
Same Issue here.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Thank you for reporting this @vaknin, this is indeed a bug. Happened to cross into it today. Marking internally as needing fix as soon as possible.
Feel free to report other issues you come across.