Thread: Error Importing Character
-
August 15th, 2019, 03:18 #1
- Join Date
- Aug 2018
- Posts
- 16
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
</description>Last edited by blckassn; August 15th, 2019 at 03:21.
-
August 15th, 2019, 17:41 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,539
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
-
August 15th, 2019, 18:06 #3
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>
Add one ">" character to this line as follows:
Code:<group type="string">Class Features</group>
You may also have issues with the entries - if you do just do a find replace with a space character.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!
-
August 16th, 2019, 00:52 #4
- Join Date
- Aug 2018
- Posts
- 16
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