morbac / xmltools

XML Tools plugin for Notepad++
GNU General Public License v3.0
260 stars 57 forks source link

XPath Evaluation errors #138

Open zKlan opened 2 years ago

zKlan commented 2 years ago

Hello,

I'm using notepad++ v8.2.1 64-bit and XML Tools 3.1.1.10 on Windows 10 Pro 20H2.

There are a couple of issues connected to XPath Expression Evaluation.

First issue is functional one, when running simplest xpath expressions that involve xpath functions I'm getting this: image

test_text_nodes.txt

I never had this kind of problem with previous versions of xml tools.

Second one is connected to UI usability. When XPath Expression Evaluation window is open you can't edit underlying document, change tabs in notepad, access menus, etc. This doesn't happen with xsl transformation window where everything works fine.

Kind regards

ipsfrgh commented 2 years ago

Hi,

First, thanks for taking the time to start improving this plugin. It is very useful.

I agree with zKlan that it's not great that you have to close the Expression Evaluation window to get to get back to any document in N++.

Something else I just noticed with this new version is that it truncates the result for each evaluation at 4096 characters. I don't know what the limit was with the previous version, but in having a quick look I have previously extracted node values of 720,000 characters. That's a little extreme, I know, but hey! So for that use case I'm going to need to write some code to parse the files instead of using this plugin.

Regards, Ian