PDA

View Full Version : Help with parser 4.0.118.0



jack
February 22nd, 2013, 05:14
Im trying to use the parser to get hs1 slaying stone I get this error thanks in advance.


2/21/2013 8:54:44 PM : ERROR:System.Xml.XmlException: The 'p' start tag on line 33 does not match the end tag of 'td'. Line 33, position 146.



<regionalCitizenOfKirisDahnBackground>
<name type="string">Citizen Of Kiris Dahn Background</name>
<source type="string">Background</source>
*** <description type="formattedtext"><table><tr><td><b>Associated Skills:</b>Dungeoneering, Streetwise</td></tr><tr><td><p class="publishedIn"></td></tr></table></description>
<shortdescription type="string">You were born in the waning town of Kiris Dahn and spent your early years there. The citizens abandoned the already dilapidated town eight years ago, but you remember how it once was. Was your family wealthy or poor? Did you know about the town’s magical defenses? Have you seen the town since it was overrun and renamed Gorizbadd?; Associated Skills: Dungeoneering, Streetwise\r<p class="publishedIn"></shortdescription>
<class type="string">Regional</class>
<level type="number">-1991</level>
<tier type="string">Heroic</tier>
<type type="string">Regional</type>

2/21/2013 8:54:44 PM : Checking XML
2/21/2013 8:54:44 PM : Output Completed
2/21/2013 8:54:44 PM : Copying Familiar Tokens
2/21/2013 8:54:44 PM : Copying Trap Tokens
2/21/2013 8:54:44 PM : Copying Monster Tokens
2/21/2013 8:54:44 PM : Outputing XML for Tokens
2/21/2013 8:54:44 PM : Outputing XML for Skill Challenge List
2/21/2013 8:54:44 PM : Outputing XML for Mount List
2/21/2013 8:54:44 PM : Outputing XML for Reference Manual Images
2/21/2013 8:54:44 PM : Outputing XML for Ritual/Alchemy List
2/21/2013 8:54:44 PM : Outputing XML for Magic Item List
2/21/2013 8:54:44 PM : Outputing XML for Vehicle Data
2/21/2013 8:54:44 PM : Outputing XML for Trap List
2/21/2013 8:54:44 PM : Outputing XML for NPC List
2/21/2013 8:54:44 PM : Outputing XML for Vehicle List
2/21/2013 8:54:44 PM : Outputing XML for Manual Structure
2/21/2013 8:54:44 PM : Outputing XML for Equipment Table
2/21/2013 8:54:44 PM : Outputing XML for Armor Table
2/21/2013 8:54:44 PM : Outputing XML for Weapons Table
2/21/2013 8:54:44 PM : Outputing XML for Reference Power Lists
2/21/2013 8:54:44 PM : Outputing XML for Power Lists
2/21/2013 8:54:44 PM : Outputing XML for Library
2/21/2013 8:54:44 PM : Outputing XML for Familiar Data
2/21/2013 8:54:44 PM : Outputing XML for Alternate Powers
2/21/2013 8:54:44 PM : Outputing XML for Traps
2/21/2013 8:54:44 PM : Outputing XML for Templates
2/21/2013 8:54:44 PM : Outputing XML for Poison
2/21/2013 8:54:44 PM : Outputing XML for Manual
2/21/2013 8:54:44 PM : Outputing XML for Diseases
2/21/2013 8:54:44 PM : Outputing XML for Encounters
2/21/2013 8:54:44 PM : Outputing XML for NPCs
2/21/2013 8:54:44 PM : Outputing XML for Rituals/Alchemy
2/21/2013 8:54:44 PM : Outputing XML for Magic Items
2/21/2013 8:54:44 PM : Outputing XML for Powers
2/21/2013 8:54:44 PM : Outputing XML for Reference Skills
2/21/2013 8:54:44 PM : Outputing XML for Reference Equipment
2/21/2013 8:54:44 PM : Outputing XML for Reference Armor
2/21/2013 8:54:44 PM : Outputing XML for Reference Weapons
2/21/2013 8:54:44 PM : Outputing XML for Effects
2/21/2013 8:54:44 PM : Outputing XML for Tables
2/21/2013 8:54:44 PM : Outputing XML for Treasure Parcels
2/21/2013 8:54:44 PM : Outputing XML for Story
2/21/2013 8:54:44 PM : Outputing XML for Maps
2/21/2013 8:54:44 PM : Outputing XML for Adventure Encounters
2/21/2013 8:54:44 PM : Outputing XML for header
2/21/2013 8:54:44 PM : Outputing XML for defintion.xml
2/21/2013 8:54:44 PM : Output mode set
2/21/2013 8:54:44 PM : Starting output
2/21/2013 8:54:44 PM : Parse Completed!
2/21/2013 8:54:44 PM : Start Effect Parse
2/21/2013 8:54:44 PM : Start Table Parse
2/21/2013 8:54:44 PM : Start Treasure Parcel Parse
2/21/2013 8:54:44 PM : Start Skill Challenge Parse
2/21/2013 8:54:44 PM : Start Alternate Powers Parse
2/21/2013 8:54:44 PM : WARNING: Links to Story elements will not function. Story has not yet been parsed
2/21/2013 8:54:44 PM : Start Map-Pins Parse
2/21/2013 8:54:44 PM : Start Map-Images Parse
2/21/2013 8:54:44 PM : Start Encounter Parse
2/21/2013 8:54:44 PM : Fixing Reference Story Links
2/21/2013 8:54:44 PM : Start Story Parse
2/21/2013 8:54:44 PM : Start Template Parse
2/21/2013 8:54:44 PM : Start Poison Parse
2/21/2013 8:54:44 PM : Trap Missing Token Manifest
2/21/2013 8:54:44 PM : Start Trap Parse
2/21/2013 8:54:44 PM : Start Disease Parse
2/21/2013 8:54:44 PM : Missing NPC token for Severed Eyes Orc Slasher expected token: severed eyes orc slasher.png
2/21/2013 8:54:44 PM : Missing NPC token for Severed Eyes Orc Bludgeoner expected token: severed eyes orc bludgeoner.png
2/21/2013 8:54:44 PM : Missing NPC token for Orc Wolf Shaman expected token: orc wolf shaman.png
2/21/2013 8:54:44 PM : Missing NPC token for Vohx, Severed Eyes Leader expected token: vohx, severed eyes leader.png
2/21/2013 8:54:44 PM : Missing NPC token for Hu-Jat, Hobgoblin Boss expected token: hu-jat, hobgoblin boss.png
2/21/2013 8:54:44 PM : Missing NPC token for Goblin Grunt expected token: goblin grunt.png
2/21/2013 8:54:44 PM : Missing NPC token for Triflik, Goblin Silverblade expected token: triflik, goblin silverblade.png
2/21/2013 8:54:44 PM : Missing NPC token for Kiris Hoyt, Wererat expected token: kiris hoyt, wererat.png
2/21/2013 8:54:44 PM : Missing NPC token for Krayd the Butcher expected token: krayd the butcher.png
2/21/2013 8:54:44 PM : Missing NPC token for Wolf Packmate expected token: wolf packmate.png
2/21/2013 8:54:44 PM : Missing NPC token for Bloodmonger Wolf expected token: bloodmonger wolf.png
2/21/2013 8:54:44 PM : Missing NPC token for Goblin Beast Marshal expected token: goblin beast marshal.png
2/21/2013 8:54:44 PM : Missing NPC token for Rort, Goblin Tomeripper expected token: rort, goblin tomeripper.png
2/21/2013 8:54:44 PM : Missing NPC token for Speelock, Kobold Scavenger expected token: speelock, kobold scavenger.png
2/21/2013 8:54:44 PM : Missing NPC token for Scurrying Rat Swarm expected token: scurrying rat swarm.png
2/21/2013 8:54:44 PM : Missing NPC token for Kobold Guttersnipe expected token: kobold guttersnipe.png
2/21/2013 8:54:44 PM : Missing NPC token for Ravenous Wolf expected token: ravenous wolf.png
2/21/2013 8:54:44 PM : Missing NPC token for Gray Ooze expected token: gray ooze.png
2/21/2013 8:54:44 PM : Missing NPC token for Ankheg expected token: ankheg.png
2/21/2013 8:54:44 PM : Missing NPC token for Goblin Warrior expected token: goblin warrior.png
2/21/2013 8:54:44 PM : Missing NPC token for Gray Wolf expected token: gray wolf.png
2/21/2013 8:54:44 PM : Missing NPC token for Stirge expected token: stirge.png
2/21/2013 8:54:44 PM : Missing NPC token for Rage Drake expected token: rage drake.png
2/21/2013 8:54:44 PM : Missing NPC token for Kobold Dragonshield expected token: kobold dragonshield.png
2/21/2013 8:54:44 PM : Missing NPC token for Iron Defender expected token: iron defender.png
2/21/2013 8:54:44 PM : Missing NPC token for Goblin Cutter expected token: goblin cutter.png
2/21/2013 8:54:44 PM : NPC Missing Token Manifest
2/21/2013 8:54:44 PM : Start NPC-Images Parse
2/21/2013 8:54:44 PM : Starting Fluff Parse
2/21/2013 8:54:44 PM : Start NPC-Stat Parse
2/21/2013 8:54:44 PM : NPC Missing Token Manifest
2/21/2013 8:54:44 PM : Start Familiar Parse
2/21/2013 8:54:44 PM : Start Vehicles Parse
2/21/2013 8:54:44 PM : Start Reference-Images Parse
2/21/2013 8:54:44 PM : Start Reference-Manual Parse
2/21/2013 8:54:44 PM : Start Ritual Parse
2/21/2013 8:54:44 PM : Start Skill Parse
2/21/2013 8:54:44 PM : Start Magic Item Parse
2/21/2013 8:54:44 PM : Start Condition Parse
2/21/2013 8:54:44 PM : Start Equipment Parse
2/21/2013 8:54:44 PM : Start Armor Parse
2/21/2013 8:54:44 PM : Start Weapon Parse
2/21/2013 8:54:44 PM : Start Power Parse
2/21/2013 8:54:44 PM : Reference parameters set
2/21/2013 8:54:44 PM : NPCs parameters set
2/21/2013 8:54:44 PM : Items parameters set
2/21/2013 8:54:44 PM : Adventure parameters set
2/21/2013 8:54:44 PM : Root parameters set
2/21/2013 8:54:44 PM : Subtree Verified
2/21/2013 8:54:44 PM : Top level verified
2/21/2013 8:54:44 PM : Starting parse

MrSavaroth
February 22nd, 2013, 09:44
Hello Jack!

I have been struggling with this as well, but I found a solution!

For some reason the parser 4.0.118.0 uses a tag called: <p class="publishedIn"> which isn't really necessary. If you use a simple tool like Notepad++ you can use the find and replace tool to get rid of all those tags in one simple swoop.

1. Start up Notepad++
2. Open the file that gives you the parsing error.
3. Hit control + F
4. Click on the tab that says "Replace"
5. Under "Find What" type in the tag: <p class="publishedIn">
6. Leave the replace with box empty.
7. There are 3 check-boxes, uncheck all of them, and hit "Replace All"
8. Make sure you have the first line of the document selected, because sometimes it will skip over some of the lines in the code if you don't.

Edit: You do have to build the mod yourself using the FGII tool, which can be found in the FGII directory.
Edit2: Alternatively, you can use EugeneZ' parser update, which will leave out the weird tag; You can find that here: https://www.fantasygrounds.com/forums/showthread.php?t=14951

I hope this will help you, if not, let me know, and I will try to elaborate on the things you don't understand.

Kind regards

jack
February 23rd, 2013, 02:01
Thanks that fix it :D

MrSavaroth
February 23rd, 2013, 22:12
Excellent! glad I could help :)