This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If the 'condition' is missing from the 'If' BPEL construct, the validator throws an error when trying to validate the BPEL. But the error message is not very clear. It says - ---- START ---- Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpws:empty'. One of '{"http://docs.oasis-open.org/wsbpel/2.0/process/executable":documentation, WC[##other:"http://docs.oasis-open.org/wsbpel/2.0/process/executable"], "http://docs.oasis-open.org/wsbpel/2.0/process/executable":targets, "http://docs.oasis-open.org/wsbpel/2.0/process/executable":sources, "http://docs.oasis-open.org/wsbpel/2.0/process/executable":condition}' is expected. ---- END ---- It could be "If construct needs a condition".
refer to my comment on http://www.netbeans.org/issues/show_bug.cgi?id=88832 One idea is that you can suggest that the file is invalid, because it has this. Typically validation errors have two aspects. 1) What is wrong in the current file? 2) What is correct and/or suggesting How it can be corrected? I think what is missing is most likely suggestion. condition is required whether or not the user puts targets/sources. Without condition this is going to fail even when i add the targets and sources.
*** This issue has been marked as a duplicate of 91380 ***
*** Issue 120421 has been marked as a duplicate of this issue. ***