</BUG>
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
boolean validation = false;
<BUG>try {
String tmp = Util.getProperty(new String[] { Global.XML_VALIDATION }, null, null, false, "false");

validation = Boolean.valueOf(tmp).booleanValue();
} catch (Exception e) {
validation = false;
}
if (validation) {
factory.setValidating(true);
factory.setNamespaceAware(validation);</BUG>
factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);

source.override(data.getParametersAsArray());
}
public void add(ProtocolData data) {
mProtocolStack.add(data);
}
protected static XmlConfigurator parse(InputStream stream, Boolean validate) throws java.io.IOException {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
boolean validation = false;
String tmp = Util.getProperty(new String[] { Global.XML_VALIDATION }, null, null, false, null);
if (tmp != null) {
validation = Boolean.valueOf(tmp).booleanValue();
} else if (validate != null) {
validation = validate.booleanValue();
