JDCain / FG5eXmlToPdf

FantasyGrounds 5e character XML to PDF form converter
MIT License
8 stars 5 forks source link

Added try clauses to ignore inconsistent xml #13

Closed Jassop closed 4 years ago

Jassop commented 4 years ago

Hi,

I had a few character XMLs that were malformed in some ways by FG, and were not able to be parsed. I added a bunch of try statements that ignore the various sections if the XML is wrong, but still produce a readable PDF and some logging.

Hope it meets approval.