Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XPath always invalid #8010

Open
1 task done
xxluke opened this issue Sep 26, 2024 · 0 comments
Open
1 task done

XPath always invalid #8010

xxluke opened this issue Sep 26, 2024 · 0 comments
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@xxluke
Copy link

xxluke commented Sep 26, 2024

Expected Behavior

XPath filters should return a detected value

Actual Behavior

The "Live Preview" shows "Invalid XPath query: [...]" and the tag doesn't work.

Screenshot

Reproduction Steps

The response where I want to use XPath looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<Process timestamp="2024-09-25T13:16:26+00:00">
	<Request BusinessID="2d35aaad-018c-4710-93fa-0f642ce1febb">
		<Confirmation/>
	</Request>
</Process>

I used http://xpather.com/ to verify my XPath, which is //Request/@BusinessID and works there.

I also tried other queries and the only one where I didn't get the error was /*.

Is there an existing issue for this?

Insomnia Version

10.0.0

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

download

@xxluke xxluke added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

1 participant