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 82584 - hyperlink from validation not functioning
Summary: hyperlink from validation not functioning
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-13 16:27 UTC by Chris Webster
Modified: 2006-10-23 15:47 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 Chris Webster 2006-08-13 16:27:11 UTC
The validation hyperlink is no longer working. The problem seems to be caused by
an incompatible change to the validation framework. 

The fix is to do the following for the showComponent which is changing to show
ResultItem implementation. 

* If   resultItem.getComponents() is null, then they use
resultItem.getLine/ColumnNumber.
* If the model is broken then the multiview switches to source view and the line
is annotated.
* For source editor line annotation, there is a common class
org.netbeans.modules.xml.validation.ui.ValidationAnnotation that should be used.

For an example implementation you can see
org.netbeans.modules.bpel.core.BPELDataEditorSupport.
Comment 1 bhate 2006-08-14 20:12:29 UTC
regression was caused due to use of show method which does not do anything
added impl from showcomponent to show method
Comment 2 Chris Webster 2006-09-23 16:07:19 UTC
verified