DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
325 stars 86 forks source link

`Get Current XPath` fail with error. #223

Closed TEH30P closed 5 years ago

TEH30P commented 6 years ago

Description VSCode plugin fails with error when i try to get XPAth.

Screenshots Here you are.

Extension Version 2.3.2

VS Code Version Version: 1.25.1 Commit: 1dfc5e557209371715f655691b1235b6b26a06be Date: 2018-07-11T15:43:53.668Z Electron: 1.7.12 Chrome: 58.0.3029.110 Node.js: 7.9.0 V8: 5.8.283.38 Architecture: x64

Operating System OSName : Microsoft Windows 10 Enterprise N OSArc : 64-bit OSVersion : 10.0.17134

stale[bot] commented 6 years ago

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.

stale[bot] commented 6 years ago

This issue is being automatically closed because it has not had recent activity. Thank you for your contributions.

DotJoshJohnson commented 5 years ago

The current XPath builder does not support anything other than attributes and elements. If the cursor is placed anywhere else, it fails. Adding support for text nodes should fix this issue.