Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 135858 - Make error/warning messages more human readable (empty element)
Make error/warning messages more human readable (empty element)
Status: RESOLVED FIXED
Product: soa
Classification: Unclassified
Component: BPEL Validation
6.x
All All
: P3 (vote)
: TBD
Assigned To: Vladimir Yaroslavskiy
issues@soa
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-27 10:57 UTC by Kirill Sorokin
Modified: 2008-05-27 14:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Sorokin 2008-05-27 10:57:41 UTC
Filed as a follow-up to issue 135148. Once you create a BPEL process, the error message on the empty sequence says: 

"The content of element 'sequence' is not complete. One of documentation, targets, sources, assign, compensate,
compensateScope, empty, exit, extensionActivity, flow, forEach, if, invoke, pick, receive, repeatUntil, reply, rethrow,
scope, sequence, throw, validate, wait, while is expected."

While this is much better than it was before (135148), the list of 24 (!) element names is still unlikely to be
correctly perceived by a human being. I would expect the error message to read: "The content of the <sequence> activity
is not complete. A <sequence> must contain at least one child activity." Moreover, the current error message is
misleading, as it says that adding <documentation> is enough to fix the error, while it is not.
Comment 1 Vladimir Yaroslavskiy 2008-05-27 14:08:07 UTC
fixed: 906fd3341115


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo