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

Bug 350529

Summary: [Java][Java-KDM] An invalid XML character (Unicode: 0x2) was found in the element content
Product: [Modeling] MoDisco Reporter: Dmitry Smirnov <divis1969>
Component: TechnologiesAssignee: Project Inbox <modisco.web-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 CC: gdupe
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Sample file that cause an exception none

Description Dmitry Smirnov CLA 2011-06-28 04:55:39 EDT
Build Identifier: I20110613-1736

An exception occurs while saving discovered KDM model if Java source file contains non-printable symbol.

Attached is the example of such a file.
The line of code contains a string literal which is a symbol for 0x2 hex code. Java Editor shows it as a small empty rectangle, Java compiler does not warn or produce an error.

Reproducible: Always

Steps to Reproduce:
1. Create a Java project
2. Add an attached file to a project
3. Run Discovery->Discoverers->KDM Code model from Java project
Comment 1 Dmitry Smirnov CLA 2011-06-28 04:58:11 EDT
Created attachment 198709 [details]
Sample file that cause an exception
Comment 2 Gregoire Dupe CLA 2011-09-28 10:46:30 EDT
Hello,

I'm really sorry, but the year we have to focus on the move to EMF Facet. We may not be able to work on this bug. That's why cannot plan this bug for the Juno release.

Regards,
Gregoire Dupe