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.

Bug 135858 - Make error/warning messages more human readable (empty element)
Summary: Make error/warning messages more human readable (empty element)
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
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
Exception Reporter:


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