Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [XML Tools 2.4.9.2] Huge input lookup

    Plugin Development
    3
    3
    1643
    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.
    • Sylvain MINJARD
      Sylvain MINJARD last edited by

      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.

      Meta Chuh 1 Reply Last reply Reply Quote 2
      • Meta Chuh
        Meta Chuh @Sylvain MINJARD last edited by Meta Chuh

        @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
        • PeterJones
          PeterJones last edited by

          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
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors