DotJoshJohnson / vscode-xml

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

Get Current XPath -- Wrong Path #253

Closed salehciq closed 5 years ago

salehciq commented 5 years ago

Description Get Current XPath is giving the wrong path. As you can see in the screenshot, the <c:ser> element is the first one, but the extension is giving this path /c:chartSpace/c:chart/c:plotArea/c:barChart/c:ser[4]. I think the [4] is wrong, it should be [1], to verify, here is the xml file. afr.xml.txt

Screenshots screenshot 2018-12-18 18 15 37

Extension Version Version (2.4.0)

VS Code Version Version (1.30.0)

Operating System macOS (10.14.2)

stale[bot] commented 5 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 5 years ago

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

stale[bot] commented 5 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 5 years ago

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