Skip to content

XPath always invalid #8010

@xxluke

Description

@xxluke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-bugBug: general classificationS-verifiedStatus: Verified by maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions