Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 77377 invoked from network); 5 Feb 2009 16:32:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 16:32:32 -0000 Received: (qmail 72244 invoked by uid 500); 5 Feb 2009 16:32:21 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 72212 invoked by uid 500); 5 Feb 2009 16:32:21 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 72177 invoked by uid 99); 5 Feb 2009 16:32:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 08:32:21 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 16:32:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EDAAB234C4BA for ; Thu, 5 Feb 2009 08:31:59 -0800 (PST) Message-ID: <1568180194.1233851519972.JavaMail.jira@brutus> Date: Thu, 5 Feb 2009 08:31:59 -0800 (PST) From: "Benjamin Francisoud (JIRA)" To: notifications@ant.apache.org Subject: [jira] Updated: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd In-Reply-To: <930339011.1233851519963.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Francisoud updated IVY-1029: ------------------------------------- Description: I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace="http://ant.apache.org/ivy"{noformat} attribute on root node in ivy.xsd ? was: I'm trying to get auto-completion of ivy.xsd in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace="http://ant.apache.org/ivy"{noformat} attribute on root node in ivy.xsd ? > Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd > ------------------------------------------------------------------------- > > Key: IVY-1029 > URL: https://issues.apache.org/jira/browse/IVY-1029 > Project: Ivy > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Benjamin Francisoud > > I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( > h2. ivy.xml with defaultNamespace > {code:xml} > > xmlns="http://ant.apache.org/ivy" > xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance" > xsi:noSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> > > > > > > > > > > > > > > > > > > > {code} > * Error message > {noformat} > [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: > :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml > [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ > spot/Ivy-Xsd/ivy.xml > [ivy:retrieve] ] > {noformat} > h2. ivy.xml with targetNamespace > {code:xml} > > xmlns:ivy="http://ant.apache.org/ivy" > xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd"> > > > > > > > > > > > > > > > > > > {code} > * Error message: > {noformat} > [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa > ces/spot/Ivy-Xsd/ivy.xml > [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml > [ivy:retrieve] ] > {noformat} > Same error message in eclipse, what am I missing ? > Fix? Just add {noformat}targetNamespace="http://ant.apache.org/ivy"{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.