baifanvhai / apromore

Automatically exported from code.google.com/p/apromore
0 stars 0 forks source link

Oryx: EPML import failed in some models #133

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Try 138 and 172. Message returned "Import failed". Is this as expected? Any 
error message?

Original issue reported on code.google.com by marcello...@gmail.com on 2 May 2011 at 11:56

GoogleCodeExporter commented 9 years ago
im working on showing proper error messages right now. but for now, 172 is 
working fine and i cant reproduce the issue. for process 138:
oryx needs the directory tag to be present while opening an EPML. i have 
noticed that the EPC element in EPMLs created using c-iEPC is places under epml 
element instead of the directory epml. you said that we have to support models 
created with this tool (do we have any other editor to support?) so i replace 
the epc tag with with another epc tag which is inside a directory element tag. 
this approach fails when there is no epc element which is the case for issue 
138. this model was a test model to test new template for creating an EPML 
process. this is now replaced with another template so we will no longer see 
this issue. (this issue will only happen if you try to open an empty epml 
process with only an empty epml tag like:

<epml:epml xmlns:epml="http://www.epml.de"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.epml.de EPML_2.0.xsd"/>

even though its still a valid epml, but its a very rare case and doesnt worth 
replacing the simple replace instruction with an instruction that manipulates 
the DOM.

Original comment by mehrad1@gmail.com on 3 May 2011 at 7:53

GoogleCodeExporter commented 9 years ago
I agree. Regarding the tool we need to support two: C-iEPC Designer and ProM 
5.2 (www.processmining.org the latter is a process analysis tool, but it can 
export EPML models from other native formats). 

Original comment by marcello...@gmail.com on 3 May 2011 at 8:06