Community
    • Login

    XML Tools - XML Parsing Error points to wrong line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    xml parsing errxml tools
    2 Posts 2 Posters 3.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.
    • Lyle RobinsonL
      Lyle Robinson
      last edited by

      I use the XML Tools plugin to find incorrect characters in large (100MB +) files. XML Tools - “Check XML Syntax Now” has always been a perfect tool for this.
      Recently I was presented with a file 54MB in size. it flagged an error as follows:

      “XML Tools Plugin
      XML Parsing error at line 901530:
      Extra Content at the end of the document”

      The tool pops to that location and no issue is there.

      After struggling to understand the issue, I chopped the file in two. When I ran the same test on the smaller front end of the file (34MB), it flagged an error as follows:

      “XML Tools Plugin
      XML Parsing error at line 67545:
      xmlParseCharRef: invalid xmlChar value 26”

      The tool pops to that location and the issue is obvious.

      Line 67545
      <tran_desc1>Alana�s Taxi</tran_desc1>

      I have never needed to chop these files down in order to find these issues. Please advise.

      1 Reply Last reply Reply Quote 0
      • chcgC
        chcg
        last edited by

        Maybe you want to create an issue here https://github.com/morbac/xmltools/issues

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