Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[bpel-dev] Validation questions.

So I am doing the validation bit now and I can currently fire it off when the user "Saves" the modified BPEL file in the editor.

When that happens, I have set up a "builder" to get triggered, that actually invokes the validator. Which works fine, except:

1) I don't have a way to validate the actual in memory EMF model. Is there a way to pass this to the builder ? At least the resource set ? Like this I have to read the actual model from the files which have changed, this is fine, but then we would need some mechanism to reference EMF objects on which the markers are defined.

2) Markers are created OK, but I have no information currently from the EMF model that could help in reporting them better, ie. line numbers for example. I am hoping this will be available when the BPEL/XML facade work is done. In addition, XPath could also be reported then too.

3) What is the best way to resolve markers to the actual EMF objects on which they are reported ? Is there some EMF internal pointer mechanism that I don't know about yet ?

--
Michal Chmielewski, CMST, Oracle Corp, W:650-506-5952 / M:408-209-9321 "Manuals ?! What manuals ? Son, it's Unix, you just gotta know."


Back to the top