| Summary: | [SSE] Syntax error refresh problem | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Gabriel Petrovay <gabipetrovay> |
| Component: | WTP Incubator | Assignee: | Lionel Villard <villard> |
| Status: | CLOSED FIXED | QA Contact: | Gabriel Petrovay <gabipetrovay> |
| Severity: | normal | ||
| Priority: | P2 | CC: | villard |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 322044 | ||
|
Description
Gabriel Petrovay
Oops didn't see this bug before fixing 322044. There is indeed a refresh problem, which is I think related to whitespace. I now need another scenario to reproduce this bug. I found another one although not as relevant as the previous one. (It might be easier to revert to that version before the commit of the dependent bug and solve this problem as well.)
So the new example:
-----------------------
declare function foo($s as empty-sequence()) {
1
};
2
-----------------------
a wrong error is shown at the end of the first line (because of Bug 322043).
To make this query correct one has to write "local:" in front of the function name. This shifts the previous error with 6 positions instead of refreshing it properly.
This is a SSE bug. Temporarily fixed it by copying private methods into XQDTLineStyleProvider. Makes it to the 0.8M1 release. |