Return-Path: Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: (qmail 78126 invoked from network); 12 Aug 2010 07:56:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Aug 2010 07:56:17 -0000 Received: (qmail 78077 invoked by uid 500); 12 Aug 2010 07:56:16 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 77892 invoked by uid 500); 12 Aug 2010 07:56:14 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 77884 invoked by uid 99); 12 Aug 2010 07:56:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Aug 2010 07:56:13 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Aug 2010 07:56:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7C7tlan023105 for ; Thu, 12 Aug 2010 07:55:48 GMT Message-ID: <12475888.5931281599747389.JavaMail.jira@thor> Date: Thu, 12 Aug 2010 03:55:47 -0400 (EDT) From: "Geert Schuring (JIRA)" To: dev@servicemix.apache.org Subject: [jira] Commented: (SM-1970) Schema location is incorrect for servicemix-quartz-2010.01.0-fuse-02-00.xsd in servicemix-quartz archetype In-Reply-To: <32490033.5521281568427287.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/SM-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61174#action_61174 ] Geert Schuring commented on SM-1970: ------------------------------------ But that means the XML can only be validated by ServiceMix, which means that there is no way of knowing whether a config is correct until servicemix logs errors on deploy-time, or works without logging any errors. You can't be serious that I should manually extract all servicemix component XSD's and load them into my IDE. That was never the intention of the spring.schemas mechanism. See http://static.springsource.org/spring/docs/2.0.x/reference/extensible-xml.html#extensible-xml-registration-spring-schemas "The properties file called 'spring.schemas' contains a mapping of XML Schema locations (referred to along with the schema declaration in XML files that use the schema as part of the 'xsi:schemaLocation' attribute) to classpath resources. This file is needed to prevent Spring from absolutely having to use a default EntityResolver that requires Internet access to retrieve the schema file." > Schema location is incorrect for servicemix-quartz-2010.01.0-fuse-02-00.xsd in servicemix-quartz archetype > ---------------------------------------------------------------------------------------------------------- > > Key: SM-1970 > URL: https://issues.apache.org/activemq/browse/SM-1970 > Project: ServiceMix > Issue Type: Bug > Components: archetypes > Affects Versions: archetypes-2010.01 > Reporter: Geert Schuring > Assignee: Freeman Fang > > after project generation using the archetype, the xbean.xml contains: > [...] > xsi:schemaLocation=" > http://servicemix.apache.org/quartz/1.0 http://servicemix.apache.org/schema/servicemix-quartz-2010.01.0-fuse-02-00.xsd > http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> > [...] > The URL http://servicemix.apache.org/schema/servicemix-quartz-2010.01.0-fuse-02-00.xsd is unresolveable, and results in the XML editor claiming validation errors. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.