Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322044

Summary: [SSE] Incorrect parsing when comments appear at certain places
Product: z_Archived Reporter: Gabriel Petrovay <gabipetrovay>
Component: WTP IncubatorAssignee: Lionel Villard <villard>
Status: CLOSED FIXED QA Contact: Gabriel Petrovay <gabipetrovay>
Severity: critical    
Priority: P1 CC: villard
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 322045    
Bug Blocks:    

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.