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.7k Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors