Community
Participate
Working Groups
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.
If there're something I didn't describe clearly, please contact me, thanks.
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.)