-
January 30th, 2019, 06:53 #1
- Join Date
- Jan 2019
- Posts
- 9
Having errors with my practice module, Any kind soul out there?
Been playing around with entering races and what not, exported content from a campaign after adding in Blues from ultimate psionics. I then decided to try and format it like one of the other modules I have downloaded because I couldn't figure out how to make the reference material and how to link it from within fantasygrounds. So now I have the client.xml looking better but when I try to load the new module to see how it looks in client I get an error.
Database Error: A XML parse error occurred processing file Psionic Races:client.xml - Error on line 169: Error reading end tag.
As far as I can tell there isn't anything wrong at line 169. Anyone able to give me a hand figuring out what is going on?
Here is a pastebin copy of the xml file. https://pastebin.com/BSRhYjNZ
-
January 30th, 2019, 07:11 #2
welcome... I cant see any issue with that tag either at a cursory look.
I would try replacing these:
Code:&# 148goblin&# 148
-
January 30th, 2019, 16:33 #3Private 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!
-
January 30th, 2019, 17:05 #4
- Join Date
- Jan 2019
- Posts
- 9
That makes way more sense, thank you. Still when it calls out a line it doesn't necessarily mean the issue is right at that line but anything in that section? Good to know.
-
January 30th, 2019, 17:27 #5Private 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!
-
January 30th, 2019, 17:43 #6
On line 83, you create a section with the open tag <racialtraits>. Then on line 169, you end the section with closing tag </racialtraits>. In between, you've create a number of sub-sections with various trait tags. When the parser gets to line 169 and you close the racialtraits section, it knows that it has open tags (trait3 and trait4) that are internal to racialtraits and those have not been closed yet. So that is why the error is throw on line 169. The parser doesn't know where you intended to close those sections, but it know that you didn't. Hope that helps you understand the error.
-
January 30th, 2019, 17:47 #7
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
If you use a text editor with XML validation, it can catch those sorts of errors when you attempt to save the file. Notepad++ has an option that you can turn on Plugins->XMLTools menu.
Cheers,
JPG
-
January 30th, 2019, 19:10 #8
As @Trenloe stated, the <trait3> on line 112 should be </trait3> and same for line 119 with <trait4>. Didn't see any other issues off-hand, though I didn't bother creating a folder to actually try to load it into FG.
-
January 30th, 2019, 20:10 #9
- Join Date
- Jan 2019
- Posts
- 9
Yes, thank you. That was the problem. Fixed up the traits and it loaded without issues.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks