Tool: XSD (xml schema)

7 posts / 0 new
Last post
#1
Tool: XSD (xml schema)

XSD/Schema for neo scavenger xml files.
Download Link

When used, this will help you find errors in your xml files. Normally, noobs find mistakes in their mods/xml by eye...which means alot of errors in their code never get found because something is blending in with all that visual clutter like <column name"conditions"></column> (do you see the error in that?)

XSD's make spotting those mistakes instant; showing you where the error is. Making the trouble of finding a compatible editor and learning how to use it %100 worth it.

On notepad++ you need to get the plugin manager working again, and download XML Tools. This plugin will have a "validate now" option, and it'll be happy to tell you all that's wrong. Thing is, it kinda sucks because it doesn't take you to the line where the problem occurred. So I suggest visual studio for this (is free), but you might want to look around on the web for XSD Validators if that doesn't suit you. Such as the site called Liquid Technologies(has a xml size limit though).

Real-world example of why you want this:
Can you spot the error with this code in 10 seconds? be honest.
Image 1

now with an XSD on Visual Studio
Image 2

That cryptic message on the bottom of image 2, when double clicked on, takes me to that line, moves the mouse there, and highlights the problem area with a green squiggly; showing that the extra > doesn't belong.

"Ten seconds? You rigged this test Layarion" no, if anything, an error that can't be spotted in an instant is a problem. Experienced coders make mistakes so often that it's expected. Not only that, but they're hard to spot. Anyone who thinks taking extra steps to prevent, stop, or spot mistakes either has code that isn't meant to ever be used, or hasn't noticed that they have any. Possibly causing all sorts of subtle things in-game.

I've had this mod for years, and only recently made this XSD. Who knows what kind of silent havoc that > has been causing.

OverHaul Mod
DevKit is an upgraded BBC mod.
Improve your mods.

This XSD sounds like an awesome tool for when I get back into mucking around with this game.

Tiny problem, all the links send me right back to this page.

When one's bedroom door hands one the doorknob, it's a very strange thing indeed.

Got it. Had to highlight the link and rightclick context menu for the "go to [link]" option.

When one's bedroom door hands one the doorknob, it's a very strange thing indeed.

ya i don't know why it's doing that. think i'll just remove the click option and make it plain text.

OverHaul Mod
DevKit is an upgraded BBC mod.
Improve your mods.

Link still broken.
Hastebin link still redirects to hatebin main page.

Could you please post the XSD to your OneDrive, under the References section?

Thanks!

ok switched from hastebin to OneDrive on the page. signature section has a character limit so i'm tapped out there.

OverHaul Mod
DevKit is an upgraded BBC mod.
Improve your mods.

Thank you very much! This XSD schema saved me a couple of hours looking for that single ">" missing (Still wasted 1.5, but hey, I'm learning). Tried to make a "Sewing for Dummies" book that grants you the "Tailoring" skill when read. And ACTUALLY MADE one, thank to this schema.