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

Bug 329478

Summary: XQueryReParser should override newInstance()
Product: z_Archived Reporter: Vasanth Velusamy <vasanthv16>
Component: WTP IncubatorAssignee: Project Inbox <wtp.inc.xquery-inbox>
Status: RESOLVED FIXED QA Contact: XQDT <xqdt>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Vasanth Velusamy CLA 2010-11-04 15:22:29 EDT
org.eclipse.wst.xquery.sse.core.internal.parser.XQueryReParser should override the method newInstance(). Otherwise, it defaults to the super class creating an instance of StructuredDocumentParser in org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.newInstance(). This ends up causing incorrect parsing/partitioning of document content.

I haven't seen this issue in the bundled XQuery SSE editor, but I hit it when using the XQuery content type in our custom structured text editor.
Comment 1 Lionel Villard CLA 2010-11-11 13:35:11 EST
Fixed.