eclipse red error circles in profiles.xml [message #17058] |
Fri, 03 October 2008 20:25 |
Eclipse User |
|
|
|
Originally posted by: rusty.berkeley.edu
My profiles.xml file starts as follows:
<profiles
xmlns="http://maven.apache.org/profiles/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/profiles/1.0.0
http://maven.apache.org/xsd/profiles-1.0.0.xsd">
In the left margin there are red error circles on lines 1 and 6; when I click on line 1's error circle it says
Referenced file contains errors (jar:file:C:/Program Files/eclipse-3.4.0/plugins/org.maven.ide.components.maven_m odel_edit_1.0.0.20080905-0917.jar!/xsd/profiles-v1_0_0.xsd). For more information, right click on the message and select "Show Details..."
(Right clicking on the message doesn't do anything or bring up anything with Show Details.)
When I click on line 6's error circle it says
cvc-elt.1: Cannot find the declaration of element 'profiles'.
When I paste the xsd url in my browser's address box it looks to me like the xsd has an element named profiles. Likewise with the xsd file in the 'referenced file'.
(This is an eclipse problem perhaps.)
|
|
|
|
Re: eclipse red error circles in profiles.xml [message #17178 is a reply to message #17120] |
Fri, 03 October 2008 21:43 |
Eclipse User |
|
|
|
Originally posted by: rusty.berkeley.edu
Done.
Eugene Kuleshov wrote:
> Rusty,
>
> Can you please create jira issue for this. We will look at that.
>
> Thanks
>
> Eugene
>
>
> Rusty Wright wrote:
>> My profiles.xml file starts as follows:
>>
>> <profiles
>> xmlns="http://maven.apache.org/profiles/1.0.0"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="
>> http://maven.apache.org/profiles/1.0.0
>> http://maven.apache.org/xsd/profiles-1.0.0.xsd">
>>
>> In the left margin there are red error circles on lines 1 and 6; when
>> I click on line 1's error circle it says
>>
>> Referenced file contains errors (jar:file:C:/Program
>> Files/eclipse-3.4.0/plugins/org.maven.ide.components.maven_m odel_edit_1.0.0.20080905-0917.jar!/xsd/profiles-v1_0_0.xsd).
>> For more information, right click on the message and select "Show
>> Details..."
>>
>> (Right clicking on the message doesn't do anything or bring up
>> anything with Show Details.)
>>
>> When I click on line 6's error circle it says
>>
>> cvc-elt.1: Cannot find the declaration of element 'profiles'.
>>
>> When I paste the xsd url in my browser's address box it looks to me
>> like the xsd has an element named profiles. Likewise with the xsd
>> file in the 'referenced file'.
>>
>> (This is an eclipse problem perhaps.)
|
|
|
Powered by
FUDForum. Page generated in 0.02532 seconds