-
Notifications
You must be signed in to change notification settings - Fork 87
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 Evaluator has no output or unexpected output #377
Comments
Output tab, Log (Extension Host): |
XPath Evaluator doesn't work. |
XPath doesnt work |
I think the current document loses "focus" after running an xpath command. Steps to reproduce...
|
I believe this is a core feature and would be great to have working. I have never got it working (Windows 11 + WSL2). Then I decided to look into all log outputs and discovered this under Window:
So, the XML I'm looking at indeed has the namespace prefix Given: <Party>
<Member>
<Assignee>
John
</Assignee>
<Assignee>
Mary
</Assignee>
</Member>
</Party> Querying XPath Query: /Party/Member
[Line 2] Member:
John
Mary
Try the same at https://www.freeformatter.com/xpath-tester.html#before-output, you get:
Which is the right kind of output we expect for the given query and data. |
Description
The XPath evaluator does not work. If I use the output of Get Current XPath as the input for Evaluate XPath, it will create an output below with an "outputs" tab below rather than a new pane to the right. Running the same XPath evaluation causes it to simple echo the XPath expression but not show the results. After some amount of time, it seems to start working again. The list of outputs also gets filled up with XPath Results outputs, but these cannot be deleted.
It almost looks like the command never finishes processing.
Screenshots
If applicable, add screenshots to help explain your problem.
Extension Version
2.5.1
VS Code Version
1.66.2
Operating System
Windows
The text was updated successfully, but these errors were encountered: