In eclipse I'm getting the following error on the first line, the <?xml ...> 
line:

Referenced file contains errors (jar:file:C:/Program 
Files/eclipse-3.4.2/plugins/org.maven.ide.components.maven_model_edit_1.0.0.200902090938.jar!/xsd/profiles-v1_0_0.xsd).
 For more information, right click on the message and select "Show Details..."

The profiles-test.xml file starts like this:

<?xml version="1.0"?>
<profiles:profilesXml
   xmlns:profiles="http://maven.apache.org/xsd/profiles-1.0.0";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="http://maven.apache.org/xsd/profiles-1.0.0.xsd";>

   <profiles:profiles>
       <profiles:profile>
           <profiles:id>profiles-activeByDefault=False</profiles:id>

           <profiles:activation>
               <profiles:activeByDefault>false</profiles:activeByDefault>
           </profiles:activation>
       </profiles:profile>

I don't get the error if I don't use a name space; e.g.,

<?xml version="1.0"?>
<profilesXml
   xmlns="http://maven.apache.org/xsd/profiles-1.0.0";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="http://maven.apache.org/xsd/profiles-1.0.0.xsd";>

   <profiles>
       <profile>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to