One of the little annoyances in using a xml configuration-heavy framework like struts is that every once in a while things don’t work, and the ultimate reason turns out to be that you missed a > in your struts-config.xml, or some subsidiary config file like validation.xml. Turns out that the answer has been lying around waiting to be used: ant’s xml validate task. Make it a requirement of your deploys and you’ll catch potential errors earlier rather than later.
Posted by Bill Stilwell at May 5, 2004 04:37 PM