private void parse(boolean validateXML) throws IASDeploymentException, IOException, SAXParseException
{
FileInputStream fis = null;
try {
fis = new FileInputStream(file);
ApplicationDeploymentDescriptorFile addf = new ApplicationDeploymentDescriptorFile();
addf.setXMLValidation(validateXML);
if (validateXML) {
addf.setXMLValidationLevel(addf.PARSING_VALIDATION);
}
app = (Application) addf.read(fis);
// read runtime deployment descriptor file if it exists
if (file2 != null) {
FileInputStream fis2 = new FileInputStream(file2);
ApplicationRuntimeDDFile arddf =