FG Spreadshirt Swag
  1. #1

    Error Importing Character

    Hello! I have three of my players importing their DnD Beyond characters. Two of them were completed successfully, but my third player is having a problem. When I went to import the XML file this is the error I received.

    Database Error: A XML parse error occurred processing file C:\Users\Jordan\Downloads\Karma.xml - Error on line 989: Error reading Attributes.
    Script Error: [string "scripts/manager_campaigndata.lua"]:135: import: Unable to parse file
    Here is what is on line 989 if Notepad++ imported it correctly. Also added a copy of the XML file.

    </description>
    The other two characters worked just fine so I'm not sure why this third player is having issues. Any idea on where to start?
    Attached Files Attached Files
    Last edited by blckassn; August 15th, 2019 at 03:21.

  2. #2
    My editor (Notepad++) is complaining about extra characters at end of document when I open it. I bet there are some hidden control characters embedded at the end. Opening in text editor and re-saving seems to have stopped the complaint.

    Regards,
    JPG

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,291
    I get this error in Notepad++ using the XML plugin syntax check:



    This is slightly misleading. What is usually means is that there is content within the XML that has been opened but not closed (or closed but never opened) and the syntax check has got to the end of the document and found it doesn't have all XML tags opened and closed correctly.

    In this case, the problem is line #989:

    Code:
     <group type="string"Class Features</group>
    The XML group tag is not opened correctly, but is closed.

    Add one ">" character to this line as follows:

    Code:
     <group type="string">Class Features</group>
    Now the XML is correct.

    You may also have issues with the &nbsp; entries - if you do just do a find replace with a space character.
    Attached Images Attached Images
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  4. #4
    Thank you Trenloe for the assistance. I didn't know Notepad++ had a XML plugin which makes this even more useful going forward. I made the two changes, line #989 and all of the nbsp entries, and it's working find now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in