I’ve been playing around with the controller configuration setup for my current project. The config is stored as XML, and partly as an exercise, I did an XSD for it.
Having pursuaded JDOM and xerces into playing nice, I now have the code. Kev pointed out that JDOM and xercesImpl are quite large. xercesImpl is needed for the xsd, and JDOM is just used for convenience (I’ve used it before).
The XSD isn’t particularly complicated, but as I already have the code in place, I just can’t decide wether the XSD is worth it. Is the extra 1.2 meg of xercesImpl worth it to have an XSD for xml that my own lib will be reading and writing?
Just looking for ideas on how I can go about answering myself.
Endolf