I'm creating an XML file using a servlet and the JDOM API. The file includes a reference to the XSD file that describes the structure the XML file should have. However, I've noticed that after commenting out code that would write a couple of required (i.e., minOccurs = "1"
sections to the XML file, the servlet still creates the XML file anyway. I would've thought I would have gotten an error message of some sort. So is it the case that I'll need to modify my servlet code so it checks that all the required sections of the XML file are present?