• Login
Community
  • Login

[XML Tools 2.4.9.2] Huge input lookup

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 3 Posters 2.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sylvain MINJARD
    last edited by Feb 13, 2019, 9:26 AM

    I am experiencing an issue with this plugin on large files (~10Mo). When I try to validate it using “Plugins/XML Tools/Validate Now” or the pretty print using libXml, it shows me an error message saying :
    “XML Parsing error at line 17: internal error: Huge input lookup”.

    It seems that this issues can be found online and have a workaround with calling parameters on libXml. While parsing the string, you should pass this flag to the function : LIBXML_PARSEHUGE.

    M 1 Reply Last reply Feb 13, 2019, 10:54 AM Reply Quote 2
    • M
      Meta Chuh moderator @Sylvain MINJARD
      last edited by Meta Chuh Feb 13, 2019, 10:56 AM Feb 13, 2019, 10:54 AM

      @Sylvain-MINJARD

      i can confirm this (as a user) on notepad++ 7.6.3 x64, and xml tools 2.4.11

      i also get alternating error messages on a ~23 million lines, ~700 mb test xml file when using plugins > xml tools > validate now (see screenshots below)

      if anyone needs huge public xml files for testing, i found some here:
      http://aiweb.cs.washington.edu/research/projects/xmltk/xmldata/
      the one at the screenshots is psd7003.xml (protein sequence database)

      Imgur

      Imgur

      1 Reply Last reply Reply Quote 2
      • P
        PeterJones
        last edited by Feb 13, 2019, 2:57 PM

        It appears that XML Tools has v2.4.11.0 released . Does that newer version fix the issue? If not, does the issue exist in the XML Tools’s open or closed issues? If not, you might want to add it.

        1 Reply Last reply Reply Quote 1
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors