Navigation

    Community

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

    XML Tools - XML Parsing Error points to wrong line

    Help wanted · · · – – – · · ·
    xml parsing err xml tools
    2
    2
    2065
    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 Robinson
      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 1
      • chcg
        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
        Copyright © 2014 NodeBB Forums | Contributors