DICE PACKS BUNDLE
  1. #1

    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

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    welcome... I cant see any issue with that tag either at a cursory look.
    I would try replacing these:
    Code:
    &# 148goblin&# 148
    with standard "goblin" and see if that helps?

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,406
    Quote Originally Posted by ResplendentDarkness View Post
    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.
    If there's a problem "reading end tag" then it means that somewhere in the section ending at line 169 there is an unclosed tag.

    Line 169 is the end of the <racialtraits> section. Within that section, <trait3> and <trait4> aren't closed.
    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
    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.

  5. #5
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,406
    Quote Originally Posted by ResplendentDarkness View Post
    Still when it calls out a line it doesn't necessarily mean the issue is right at that line but anything in that section?
    It depends on what the error is.
    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!

  6. #6
    pindercarl's Avatar
    Join Date
    Jan 2015
    Posts
    974
    Blog Entries
    2
    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.

  7. #7
    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

  8. #8

    Join Date
    May 2016
    Location
    Jacksonville, FL
    Posts
    2,211
    Blog Entries
    7
    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.

  9. #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

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