Skip to content
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

"Check XML Syntax" freezes the application #152

Closed
LachisSpaces opened this issue Mar 25, 2022 · 4 comments
Closed

"Check XML Syntax" freezes the application #152

LachisSpaces opened this issue Mar 25, 2022 · 4 comments

Comments

@LachisSpaces
Copy link

My file is quite large (length: 1965890, lines: 48664) but that never was a problem with the previous versions.

I had the option "Enable XML Syntax auto-check" activated and was not able to save changes to the file. It just freezes Notpad++.
I can save without problems if I untick the option "Enable XML Syntax auto-check".

Also I was not able to use the function "Validate now", because of the same freeze.
But even removing the tick from "Enable XML Syntax auto-check" did not help.

I have Notepad++ v8.3.3 and I can replicate the problem with XML-Tools v.3.1.1.12 and v3.1.1.13

I cannot give you the problematic file because it contains personal data protected under the GDPR law and pseudonymisation is not possible with reasonable effort.

@morbac
Copy link
Owner

morbac commented Mar 26, 2022

The issue concerns UTF-8 encoding only : internal text conversion is not optimized at all for that encoding, hence the freeze.
It should disappear if you change encoding to ANSI for instance.

You can test the fix with this pre-release of xmltools 3.1.1.13 (64-bit version only)

@geva-kf-admin
Copy link

@morbac
I have also the problem with the function "Check XML Syntax". Your fix works perfect and solve it.

Thanks!

@LachisSpaces
Copy link
Author

The issue concerns UTF-8 encoding only : internal text conversion is not optimized at all for that encoding, hence the freeze. It should disappear if you change encoding to ANSI for instance.

You can test the fix with this pre-release of xmltools 3.1.1.13 (64-bit version only)

Thank you. I will wait for the official release because I have reverted to the previous Notepad++ version.
@morbac Are you responsible for closing the issues?

@morbac
Copy link
Owner

morbac commented Apr 2, 2022

New release 3.1.1.13 should fix the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants