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.
Steps to reproduce: - Add 'If' activity to BPEL process. - Add 'ElseIf' section to 'If' activity. - Set 'Condition' property for 'If' and 'ElseIf'. - Add 'Empty' activity to 'ElseIf' section. - Validate BPEL. - Notice that validator marks 'ElseIf' section but error actually in 'If' section.
see if problem is with badge assignment or with "locate elemnent for error" logic.
Validation item refers ElseIf element instead of If. So, diagram behaves correctly here. Validation item says that elseIf element was found, while acivity element was expected to be the element going next to condition element inside If. Reassigning bug to Praveen.
bpel validation bug, changing subcomponent. Should we create a subcomponent called "validation"?
Reassigned to issues@enterprise by mistake. Reassigning to myself.
Code and corressponding error message are shown below. The problem here is that bpel schema validation is done by jdk validator and it complains when it sees <elseif> element and reports the error on <elseif>. For design view this error is shown on the 'elseif' element. It would be easier to understand if this was reported on the 'if' element. Since we do not have control over which element the error is reported on by the jdk validator, I don't see any reasonable way in which this bug could be fixed. <if name="If1"> <condition>$outputVar.resultType/ns0:paramA</condition> <elseif> <condition>$inputVar.inputType/ns0:paramA</condition> <empty name="Empty1"/> </elseif> </if> cvc-complex-type.2.4.a: Invalid content was found starting with element 'elseif'. One of '{"http://schemas.xmlsoap.org/ws/2004/03/business-process/":empty, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":invoke, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":receive, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":reply, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":assign, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":validate, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":wait, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":throw, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":rethrow, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":exit, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":flow, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":if, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":while, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":repeatUntil, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":sequence, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":pick, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":scope, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":compensate, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":compensateScope, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":forEach, "http://schemas.xmlsoap.org/ws/2004/03/business-process/":extensionActivity}' is expected.
Close "WONTFIX", "LATER", REMIND", "DUPLICATE", "WORKSFORME", "MOVED" issue against previous releases