Good afternoon: I'm taking a swing at building schema files to validate against while building mods. So far I've just tackled the craftDB.xml file. Please take a look and let me know if there are any glaring errors, places where the documentation can be improved, etc. http://i-am-fat.org/dredmor/dredmor-schema.zip
Base game craftDB.xml question for anyone who knows: For the "Noxious Brimstone Flask", there are two outputs at skill level 5, one with an amount of '2' and one with '3'. Is this an error in the xml file and the game picks the first / last entry that shows up? or does this mean that you can get 2 or 3 flasks randomly as a result. (Same question applies to "Grog" at skill level 1)
Hmm. I wish it worked as a choose-one-from-list but it's actually an error. I imagine the game will use the first entry it hits.
Alright I need to abandon W3C Schema for this and use RELAX NG or Schematron. The <item> is just to fast-and-lose for an .xsd validation.