Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329478 - XQueryReParser should override newInstance()
Summary: XQueryReParser should override newInstance()
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WTP Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: XQDT CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 15:22 EDT by Vasanth Velusamy CLA
Modified: 2021-11-18 16:20 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.