setProperty(SOURCE_XML, xml.getFilePath());
setProperty(SOURCE_DTD_ROOT, xml.getRootNodeName());
setProperty(DO_SOURCE_XML_VALIDATION, xml.isValidationEnabled());
inputStructure = null;
} else if (type == DataStructureType.JSON) {
JsonStructure json = (JsonStructure) struct;
setProperty(SOURCE_XML, json.getFileName());
setProperty(SOURCE_DTD_ROOT, json.getRootName());
setProperty(DO_SOURCE_XML_VALIDATION, false);
} else {
inputStructure = struct;
setProperty(SOURCE_XML, "");
setProperty(SOURCE_DTD_ROOT, "");