Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 158113 - Class ErrorDetail can be enhanced
Summary: Class ErrorDetail can be enhanced
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.2.0 M1   Edit
Assignee: Jiaying Liu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 04:22 EDT by Frank Zhang CLA
Modified: 2008-08-12 06:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Zhang CLA 2006-09-21 04:22:00 EDT
GUI will add a new feature: clicking on the items in proplem view, it will jump to the error line in XML source.
The error items are from ModuleHandle.getErrorList() and ModuleHandle.getWarningList(), and each item is an instance of ErrorDetail. But it seems that ErrorDetail.LineNo is always 0, and if user clicks the error item in problem view, it always jump to line 1 in XML source, I think model should enhance it.
In addtion, can model support another two attributes: CHAR_START and CHAR_END ?
the two attributes tell us where the error starts and end, just like Java editor does.
I think it will be more accurate to jump to the error position.
Comment 1 Frank Zhang CLA 2006-09-21 04:24:19 EDT
If there're something I didn't describe clearly, please contact me, thanks.
Comment 2 Jiaying Liu CLA 2006-10-11 05:59:23 EDT
Supported.

Notice:
1. Only support element level. (That is, could not locate the property now.)
2. Does not support virtual element. (The virtual element exists in memory but not in xml source.)