}
// creating the JpdlXmlReader
InputStream processInputStream = new ByteArrayInputStream(processBytes);
InputSource processInputSource = new InputSource(processInputStream);
JpdlXmlReader jpdlXmlReader = new JpdlXmlReader(processInputSource, processArchive);
processDefinition = jpdlXmlReader.readProcessDefinition();
// close all the streams
jpdlXmlReader.close();
processInputStream.close();
} catch (IOException e) {
throw new JpdlException("io problem while reading processdefinition.xml: "+e.getMessage(), e);
}