Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338227 - [Bugzilla] Error marker is not on the right place
Summary: [Bugzilla] Error marker is not on the right place
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WTP Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dimitar Tenev CLA
QA Contact: Dimitar Tenev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 10:31 EST by Stanislav Nichev CLA
Modified: 2021-11-18 16:19 EST (History)
0 users

See Also:


Attachments
screenshot (27.13 KB, image/pjpeg)
2011-02-25 10:32 EST, Stanislav Nichev CLA
no flags Details
reproduce data (657 bytes, application/x-zip-compressed)
2011-02-25 10:33 EST, Stanislav Nichev CLA
no flags Details
sample test project (14.12 KB, application/x-zip-compressed)
2011-02-25 10:34 EST, Stanislav Nichev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Nichev CLA 2011-02-25 10:31:32 EST
Build Identifier: 

See the attached picture. The two global elements have one and the same  
name but in the details page the error maker is on the type field.       
I should be placed on the Name field.                                    
                                                                         
    Memo                                                                 
    12.07.2010 14:49:17      Stanislav Nichev                            
Hi Colleagues,                                                           
                                                                         
This cannot be fixed:                                                    
1) We do not receive error type "duplicate name". We only receive error  
on element - there is no way to determine where the error is unless we   
workaround the validation.                                               
2) There is also no way to get all the elements with duplicate names     
because of 1)                                                            
                                                                         
Bugzilla should be reported to the eclipse validation guys.              
                                                                         
Regards,                                                                 
Stanislav                                                                
                                                                         
    Memo                                                                 
    17.08.2010 15:09:29      Dimitar Donchev                             
The test project I've attached could be use as base to the JUnit for     
the bugzila.                                                             
                                                                         
CSN 0120031469 0001670198 2010 is marked as duplicate to this one.       
                                                                         
I've attached 2 XSD-s, see the error marker on the importing one.        
The problem with it is that the component for which the XSDDiagnostic is 
created is the importing XSDSchema, instead of : the XSD Import, the     
imported XSDSchema, the XSDElement declaration from the imported schema, 
the name attribute of the element                                        


Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-02-25 10:32:52 EST
Created attachment 189810 [details]
screenshot
Comment 2 Stanislav Nichev CLA 2011-02-25 10:33:37 EST
Created attachment 189811 [details]
reproduce data
Comment 3 Stanislav Nichev CLA 2011-02-25 10:34:10 EST
Created attachment 189812 [details]
sample test project