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 126243 - Quick Fix does not detect XML validation errors
Summary: Quick Fix does not detect XML validation errors
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 02:47 UTC by lpolycarpou
Modified: 2008-02-07 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lpolycarpou 2008-01-30 02:47:00 UTC
If we run the execute Quick Fix when working in the BPEL Source view when there are deliberate XML errors (which the
Validate XML command detects), Quick Fix always returns with:

There is no validation errors/warnings, so nothing to fix.

I assume this feature is not yet implemented since I cannot seem to get it to display anything else no matter how
malformed the BPEL may be.

(Incidentally, for valid XML this should actually read "There **are** no validation errors/warnings...."
Comment 1 lpolycarpou 2008-01-30 02:47:47 UTC
This was found in Sierra MS5.
Comment 2 Sergey Lunegov 2008-01-30 09:23:52 UTC
Changed target milestone.
Comment 3 Vladimir Yaroslavskiy 2008-02-07 14:20:16 UTC
Fixed:

a validation rule (error/warning) can have quick fix, Quick Fix action gets
errors/warnings found in bpel and ask them to provide a quick fix.
if fixes are found, action applies it. Note that not all validation rules
have quick fix now, this part of work is in progress...

Also note that Quick Fix infrastructure and UI will be reviewed by HIE and
can/would be changed in future.