Menu

XML Tools plugin 2.3 (r583)

2008-07-07
2012-11-14
  • Nicolas Crittin

    Nicolas Crittin - 2008-07-07

    Hi all,

    The version 2.3 of XML Tools plugin has been released and is available in download page.

    Here is what's new:

    - Load libXML DLL dynamically; the plugin menu shows a "How to use..." when DLL is not available.
    - Fix errors and improve "Linarize XML" function: the function now supports both LF and CRLF line ends
    - Fix indentation error in "Pretty Print" function when having '>' char in node attribute
    - Fix the check marks problem in XML Tools plugin menu

    The auto-installer (EXE file) is no longer available. You must install external libraries (libXML, libXSLT, etc.) manually. These are available here:
    http://sourceforge.net/project/showfiles.php?group_id=189927&package_id=264094&release_id=607029

     
    • Nicolas Crittin

      Nicolas Crittin - 2008-10-27

      No idea why it disapeard. I've just uploaded the zip again.

      Btw, dll's are also available here: http://www.zlatkovic.com/pub/libxml

       
      • Don HO

        Don HO - 2008-10-27

        > No idea why it disapeard. I've just uploaded the zip again.

        Apparently, the binary is reported containing Trojan, that's why it was removed from download area.

        Here's the whole tracker history (Sorry that I posted entirely, this tracker link in sourceforge is broken obviously) :

        Support Requests item #2144877, was opened at 2008-10-03 14:57
        Message generated for change (Comment added) made by moorman
        You can respond by visiting:
        https://sourceforge.net/tracker/?func=detail&atid=200001&aid=2144877&group_id=1

        Please note that this message will contain a full copy of the comment thread,
        including the initial issue submission, for this request,
        not just the latest update.
        Category: None
        Group: Second Level Support
        > >Status: Pending
        Priority: 8
        Private: Yes
        Submitted By: Nobody/Anonymous (nobody)
        Assigned to: Service Operations Group (sog)
        Summary: Possible Trojan in sourceforge download

        Initial Comment:
        One of the .dll files in the XML tools zip file plugin for Notepad ++ (ext_libs.zip file) is reported by Spybot S&D as a Darkonia Trojan. 

        Link to zip file in question:
        http://sourceforge.net/project/showfiles.php?group_id=189927&package_id=264094&release_id=607029

        Spybot configuration files used were up to date as of 10/03/2008.  Specifically had to scan the .dll files individually with Spybot S&D to get the threat notification.

        Darkonia Info from Spybot S&D:
        http://www.safer-networking.org/en/threats/1738.html

        ----------------------------------------------------------------------

        > >Comment By: Jacob Moorman (moorman)
        Date: 2008-10-16 08:59

        Message:
        Notepad++ is a responsible project and I anticipate they will take action
        if there is an actual confirmed issue.

        I passed the .zip and the individual .dlls in to the multi-vendor scanner
        at http://virusscan.jotti.org/ and everything came back clean. None of the
        tools at my disposal indicate an issue with either the .zip or any of the
        individual .dlls.  That does not mean there is not an issue here; just that
        none of the tools at my disposal can detect one.

        I see that there are newer signatures from Spybot (two sets are newer).
        No scanner is 100%.  All eventually hit false positivies, defects, etc.

        Please do the following:

        1. Update your Spybot signatures and retest.
        2. If there is a still a problem, please send a note to
        donho@users.sourceforge.net and pass along the results you encountered.
        3. Please also follow-up with the Spybot folks and ask them to confirm
        whether this is a false positive.

        Thank you,

        Jacob Moorman
        Director of Operations, SourceForge.net

        ----------------------------------------------------------------------

        Comment By: Daniel Hinojosa (hinojosa)
        Date: 2008-10-03 22:37

        Message:
        Greetings,

        26.Jun.2008: Please note the current status of the project removal
        facility here:
        https://sourceforge.net/community/forum/topic.php?id=2730&page&replies=1

        This canned response is used by the SourceForge.net team to convey
        information about how this Support Request will be handled.  Please read
        the entirety of this comment before taking any further action; information
        enclosed in this comment will help you to ensure that you have an excellent
        support experience.

        The SourceForge.net team takes all reported issues seriously; we will work
        to provide you a complete, accurate, and timely response to your inquiry.
        Information about our support policies and procedures may be found here:
        https://sourceforge.net/docs/C01

        ABOUT THIS ISSUE: Based on the initial review of this request, we have
        determined that this issue will be considered to have High Priority.
        Issues within this category typically include requests for removal of user
        accounts, projects, project data, or administrative inquiries.  A
        description of our issue priorities may be found here:
        https://sourceforge.net/docs/C01#issue_priorities

        TRIAGE PROCESS: The initial review of this issue has resulted in a member
        of the SourceForge.net staff determining who should process this issue, and
        a change in the Priority, Summary, Assignee, Group and Category settings
        for this request.

        WHAT TO EXPECT: Issues of this nature will typically be reviewed again by
        the assigned member of the SourceForge.net team within 3 business days (the
        SourceForge.net team works at least Monday through Friday, 9am to 5pm
        Pacific, excepting holidays), though most issues of this nature are handled
        within 24 hours of submission.  Within our next response, we will make a
        determination regarding your request, or ask for clarification of this
        issue report.  Please wait patiently for our next review of, and response
        to, this request.

        INQUIRING ABOUT THE STATUS OF THIS ISSUE: Should you have questions or
        concerns regarding the status of this issue, simply add a comment to this
        support request.  All comments you post to this support request will be
        received by the SourceForge.net team member who has been assigned this
        issue.  Please do not submit a second support request about this issue (add
        a comment to this request instead), and do not attempt to contact the
        assignee of this request via email; all additional information or comments
        about this request should be posted as a comment to this request.

        Cheers!,

        the SourceForge.net support team.

        P.S. - Want to avoid spam? Make sure you mark support requests Private
        when you need to send us your email address or other private information,
        so that spammers and other nefarians don't nab it. Then, bookmark the
        requests so that you can find the issue later if you are not logged in when
        you submit your request.

        ----------------------------------------------------------------------

        You can respond by visiting:
        https://sourceforge.net/tracker/?func=detail&atid=200001&aid=2144877&group_id=1

         
    • Don HO

      Don HO - 2008-07-12

      Tested under vista, xp and windows 98, here's the result :

      * win98 : the error message is gone on the launch time - since now xmltools.dll link dynamically with libxml2.dll
      after copying the 4 needed dll into c:\windows\system\, xmltools works perfectly.

      * xp : on the first launch time with xmltools.dll, notepad++ crashes. After copying the 4 needed dll into c:\windows\system32\, xmltools works perfectly.

      * vista : on the first launch time with xmltools.dll, notepad++ crashes. After copying the 4 needed dll into c:\windows\system32\, notepad++ still crashes.

      Apparently, xmltools.dll does not load the "good" libxml2.dll that makes notepad++ crash.

      Any solution about that?

      Don

       
      • Lonnie

        Lonnie - 2008-07-26

        I was having the same problem, and was putting the files in the plugins directory.

        I refuse to put non-windows libraries in my windows folder (and I'm pretty sure in Vista it won't work anyway) but your post got me thinking.

        The solution I found was to place the extra libs next to the notepad++ executable (in my case the c:\program files\notepad++ directory).

        Hope this helps.

         
      • Nicolas Crittin

        Nicolas Crittin - 2008-07-12

        Thanks for feedback ;)

        Mmmh that's strange, I don't have these problems (with and without libxml)...

        I don't have vista (actually I had, but I've downgraded back to xp) and will not be able to test on this platform. I'll first try to fix problems on xp.

         
    • Anonymous

      Anonymous - 2008-07-17

      On vista even when i copy the 4 dll's to the correct place I still get an error saying iconv.dll does not have the proper setInfo() method etc.

       
    • hmoeckel

      hmoeckel - 2008-08-19

      Hello

      I have Windows 2003 server and I tried all the suggested approaches where to put the extra libs.

      None seems to work. Notepad++ either crashes or this "setInfo()-Message" is displayed.

       
    • Nicolas Crittin

      Nicolas Crittin - 2008-09-17

      Hi all,

      Thanks for interest and sorry for being so long to respond.
      But I've good news, I think I've fixed the problem. The problem was:

      The plugin builds a normal menu if libXML could be loaded and a short menu if it couldn't. To do it, I allocated the funcItems dynamically, depending on libXML loading status:

      int nbFunc = 29;
      FuncItem* funcItem;

      // loading libxml
      ...

      if (libxmlStatus == 0) nbFunc = 1;

      funcItem = new FuncItem[nbFunc];
      ...

      For an unknown reason, it seems that NPP does not support dynamically allocated funcItem table. So I changed this and it seems to work fine now.

      I'll perform tests during next days and publish the new release on sourceforge when it's ok. If someone is interested in testing the new release, it can be (unofficially) grabbed on http://www.calodox.scene.org/morbac/other/xmltools-2.3.1-r637.zip

       
    • Rob Patterson

      Rob Patterson - 2008-10-25

      The URL you provided "http://sourceforge.net/project/showfiles.php?group_id=189927&package_id=264094&release_id=607029" no longer has any files listed.  Are they available elsewhere?

       
    • the drs

      the drs - 2008-10-27

      I seccond Rob's post.
      The link doesn't work.
      I went to the sources, looked at the readme in the lib directory, went and downloaded all the zillion dlls from the link put them all in the plugin dir got a zillion errors about it not being multithreaded and missing 'setFrom' functions.
      In short, I think ppl should consider using static compiling, it saves the world a lot of the dll hell...
      I am giving up