DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
320 stars 87 forks source link

Something went wrong while evaluating the XPath: RangeError: Maximum call stack size exceeded #339

Open IbrahimDeliceUFST opened 3 years ago

IbrahimDeliceUFST commented 3 years ago

Description I have an xml file with 57k lines and whenever i try to evalute an xpath expression I get the error: Something went wrong while evaluating the XPath: RangeError: Maximum call stack size exceeded

Screenshots image

Extension Version 2.5.1

VS Code Version 1.51.1

Operating System Windows 10 version 1809

rorlic commented 11 months ago

Same here, 175K lines. Same extension version, VS Code 1.77.3 on Linux.

This issue is almost 3 years old. Will there be a fix available soon?

I see that there is a dependency on npm package xpath:0.0.27 which is 6 years old. I also see that there has been a related fix which has been released in version 0.0.31 three years ago, while version 0.0.33 has been released one month ago.

Updating to a version 0.0.31 or higher may fix this problem.