XML tools



  • I followed the instructions in the other thread where I deleted everything N++ from my the hard drive and registry (there was over 100 + in there due to all the manual file extension settings I had put in the past 7 years).
    I also tried the test temp location stand alone on a desktop folder, same issue.

    The only way I was able to make it work was via Manually copying the files in the XMLTools folder I created in Plugins. That worked, thank!

    It could be because I am on a corp latop behind a corp firewall too?



  • thanks @Gabriel-Poulin for reporting back.
    we’re glad to hear that you got it running with a manual install. 👍

    It could be because I am on a corp latop behind a corp firewall too?

    o.m.g… yes, i am so sorry, this time i completely forgot to ask if you are behind a corporate proxy or firewall. 😳 my sincere apologies.

    if you are behind a proxy, you can set it at the notepad++ menu ? > set updater proxy as seen at the screenshot below, as long as you know the proxy server address and port.

    note: usually you can find the proxy settings at the connection settings of your browser.

    Imgur

    enter your company’s proxy server ip address and port number here as seen at the next screenshot.
    (note: do not use the example ip and port, they will not work, except if your company uses the same values by coincidence)

    Imgur

    note: currently notepad++ does not support proxy authentication (user name and password), so it will not work, if your corporate proxy/firewall needs user credentials.



  • that won’t work as my proxy does require login creds.
    I will leave it as it is for the manual installation, at least that got me going and I can stop pulling any hairs I may have left :)

    Thanks all for your help



  • Hey guys, can I thread hijack (as I am having the exact same issue, except for me the manual method doesn’t work as well)?

    I’m also behind a corporate firewall, except I don’t even know what my proxy server IP address is (it’s configured via a script).

    Debug info:
    Notepad++ v7.7.1 (32-bit)
    Build time : Jun 16 2019 - 21:14:50
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 7 (64-bit)
    Plugins : mimeTools.dll NppConverter.dll NppExport.dll

    Dir:
    Directory of C:\Program Files (x86)\Notepad++\plugins\XML Tools

    11/07/2019 07:32 PM <DIR> .
    11/07/2019 07:32 PM <DIR> …
    21/11/2018 08:02 AM 9,116 change.log
    21/11/2018 08:02 AM <DIR> libs
    22/11/2018 06:47 AM 2,131,968 XMLTools.dll
    2 File(s) 2,141,084 bytes

    Directory of C:\Program Files (x86)\Notepad++\plugins\XML Tools\libs

    21/11/2018 08:02 AM <DIR> .
    21/11/2018 08:02 AM <DIR> …
    19/03/2015 09:56 PM 1,281,639 libiconv-2.dll
    19/03/2015 09:56 PM 75,496 libwinpthread-1.dll
    19/03/2015 09:56 PM 4,535,910 libxml2-2.dll
    19/03/2015 09:56 PM 941,389 libxslt-1.dll
    19/03/2015 09:56 PM 103,424 zlib1.dll
    5 File(s) 6,937,858 bytes

     Total Files Listed:
               7 File(s)      9,078,942 bytes
    

    Thanks!



  • @oryz

    as you have Local Conf mode : OFF I would have expected that your plugins
    get loaded from appdata directory instead of the installation directory.
    Your listing, in general, looks good to me.



  • @Ekopalypse said:

    as you have Local Conf mode : OFF I would have expected that your plugins
    get loaded from appdata directory instead of the installation directory.

    Uhm, I think that was the case back in the days of Npp v7.6 …

    @oryz

    The plugin directory is namd XML Tools (note the space character between them) but it should be XMLTools (exactly like the plugin DLL name without the .dll extension).



  • @dinkumoil

    Uhm, I think that was the case back in the days of Npp v7.6 …

    Are you sure? I’m somehow reluctant to install npp to test.

    The plugin directory is named XML Tools

    looks like it is, if we can take the directory listing as granted

    Directory of C:\Program Files (x86)\Notepad++\plugins\XML Tools\libs



  • @Ekopalypse said:

    Are you sure?

    Yes, of course. Local installations of Notepad++ (created by installer) since v7.6.3 store plugins in

    • %ProgramFiles%\Notepad++\plugins\<Plugin name> (32 bit OS)
    • %ProgramFiles(x86)%\Notepad++\plugins\<Plugin name> (64 bit OS, 32 bit Npp)
    • %ProgramFiles%\Notepad++\plugins\<Plugin name> (64 bit OS, 64 bit Npp)


  • @dinkumoil said:

    The plugin directory is namd XML Tools (note the space character between them) but it should be XMLTools (exactly like the plugin DLL name without the .dll extension).

    I think this was it! I actually ended up resolving the issue by disconnecting from the work VPN (I was at home) and then the Plugin Admin worked… You are right it installed the plugin in :
    %ProgramFiles(x86)%\Notepad++\plugins\XMLTools\ [NO SPACE] (64 bit OS, 32 bit Npp)

    It would be nice if NPP Plugin Admin would notify the user when it fails to connect to the plugin repository.

    Hopefully this would help others trying to install the plugin manually.

    Thanks for the help!



  • @oryz said:

    It would be nice if NPP Plugin Admin would notify the user when it fails to connect to the plugin repository.

    Yes, you are right. Unfortunately proper error handling of PluginsAdmin and WinGup (the actual updater application) has not been in the scope of @donho yet.



  • Hi,
    I also have XMLTools folder under plugin Folder
    %ProgramFiles(x86)%\Notepad++\plugins\XMLTools\

    Content :
    change.log
    libiconv-2.dll
    libwinpthread-1.dll
    libxml2-2.dll
    libxslt-1.dll
    XMLTooIs.dIl
    zlib1.dll

    When I start NPP I see “XML Tools” under Plugins but behind i got entry “How to install”
    *
    *XML Tools
    Unable to load IibXML and/or IibXSLT.

    Please install extern DLLs into NPP root directory
    (same directory than Notepad++.exe) or in
    ‘%appdata%\Notepad++’ folder and restart NPP.

    These libraries are available in the sublolder
    “ext_libs” of xmltools zip archive.*
    *
    I put the dlls also on %appdata%\Notepad++ and C:\Program Files (x86)\Notepad++
    Can someone help me please!



  • @Tokira67

    If you use Notepad++ v7.5.9 or older, all the companion DLL files have to be stored under %ProgramFiles(x86)%\Notepad++.

    If you use Notepad++ v7.6.3 or newer, all the companion DLL files have to be stored under %ProgramFiles(x86)%\Notepad++\plugins\XMLTools\libs.



  • Running Notepad++ v7.7.1 (64-bit) I used the plugin manager to download the Xml Tools and the full menu comes up but the Tag auto-close fails to work. I have tried numerous of the ‘fixes’ to no avail.



  • @Lyle-Anderson

    looks like it suffers from the same issues other 64bit plugins do, namely, using
    the outdated notification structure.
    Fastest workaround, use a 32bit npp together with xml tools.
    (Portable aka zipped version can run together with an installed version)
    Report an issue here.


Log in to reply