I am using Notepad++ v6.8.3 and manually installed XML Tools from https://sourceforge.net/projects/npp-plugins/files/XML%20Tools/Xml%20Tools%202.4.8%20Unicode/ and installed manuall according to the install.txt file. XML Tools About shows XML Tools Plugin Version 2.4.8 unicode, libXML 2.9.2 and libXSTL 1.1.28. When I open an XML file and attempt to use
Pretty Print (XML only - with Line breaks)
Notepad++ hangs if the file is of a certain size:
Test 1 7152 KB Fail
Test 2 3978 KB Fail
Test 3 996 KB Success
Test 4 2333 KB Success (19 seconds)
The default XML Tools options Enable XML Syntax Check, Tag Auto Close, Set XML Type Automatically and Prevent XXE on or off seemed to make no difference. I can't provide my test file becuase it has confidential information.
Buck
Hi, I agree that XMLTools is not efficient on large files in terms of performance. But I couldn't experience NPP crash. I perform several tests with xml of about 10MB. The pretty print is performed in about 90 seconds, but the pretty print succeeds.
It would be helpful if you could anonymise your test files.
Best Regards
nc