tool to very xml struct files

Topics related to tools created by the Core Team or 3rd-party community members.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

tool to very xml struct files

Post by Ememjr » Tue Apr 16, 2019 5:46 pm

do we have a tool anywhere that can read the struct file and tell us if there is an error in it ie.. invlaid comand or missing > or missing " or anything, when i load the worldstruct it just closes at somepoint and in the past it has just been an xml error in a struct but i can find it this time

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: tool to very xml struct files

Post by John Adams » Sat Apr 20, 2019 8:10 am

In the past, the Packet Analyzer was good for some of that validation, though not it's true purpose. Otherwise, you could always diff against SVN to jump right to changes, maybe.

tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

Re: tool to very xml struct files

Post by tyrbo » Sat Apr 20, 2019 11:31 am


User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: tool to very xml struct files

Post by Ememjr » Sat Apr 20, 2019 12:23 pm

John Adams wrote: Sat Apr 20, 2019 8:10 am In the past, the Packet Analyzer was good for some of that validation, though not it's true purpose. Otherwise, you could always diff against SVN to jump right to changes, maybe.
that was kinda the issue
packet anal was closing while loading because of an error i created while doing struct changes
it be precise i was documenting changes that i made in the struct and did not know this was invalid <!--------checkme--------->
the double hyphens in a comment
based on another suggestion i added the xml verifier to notepad++ and that worked for me

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: tool to very xml struct files

Post by Ememjr » Sat Apr 20, 2019 12:24 pm

tyrbo wrote: Sat Apr 20, 2019 11:31 am A quick search:

https://www.xmlvalidation.com/
https://codebeautify.org/xmlvalidator
at first i thought i would need something specific to EMU and for xml tags

i was able to add the option to NPP

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests