Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322044 - [SSE] Incorrect parsing when comments appear at certain places
Summary: [SSE] Incorrect parsing when comments appear at certain places
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WTP Incubator (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Lionel Villard CLA
QA Contact: Gabriel Petrovay CLA
URL:
Whiteboard:
Keywords:
Depends on: 322045
Blocks:
  Show dependency tree
 
Reported: 2010-08-07 05:01 EDT by Gabriel Petrovay CLA
Modified: 2021-11-18 16:20 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Petrovay CLA 2010-08-07 05:01:45 EDT
The following expression raises a parse error:
------------------------
let $(: :)x := 123
return 1
------------------------
declare (: :) function local:foo() {
 1
};
123
------------------------
Comment 1 Gabriel Petrovay CLA 2010-08-07 18:36:04 EDT
Another one:
-----------------------
<a/> as node((::))
-----------------------
Comment 2 Gabriel Petrovay CLA 2010-08-07 18:37:27 EDT
In this last example the node() is considered to be a function.
Comment 3 Lionel Villard CLA 2010-08-09 11:08:46 EDT
This is fixed, except for sequenceType. Opening more specific bug.
Comment 4 Gabriel Petrovay CLA 2010-08-25 11:28:37 EDT
Makes it to the 0.8M1 release.