servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SM-1970) Schema location is incorrect for servicemix-quartz-2010.01.0-fuse-02-00.xsd in servicemix-quartz archetype
Date Thu, 12 Aug 2010 00:48:49 GMT

     [ https://issues.apache.org/activemq/browse/SM-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved SM-1970.
------------------------------

    Resolution: Working as Designed

Hi,

Actually we always ship local xsd files in component jar, so http://servicemix.apache.org/schema/servicemix-quartz-2010.01.0-fuse-02-00.xsd
redirect(through spring.shcemas) to local xsd files inside servicemix-quartz-2010.01.0-fuse-02-00.jar,
it doesn't matter if url http://servicemix.apache.org/schema/servicemix-quartz-2010.01.0-fuse-02-00.xsd
really exist or not.

If you extract servicemix-quartz-2010.01.0-fuse-02-00.jar, you will see a file META-INF/spring.schemas,
and in this file, you can find
http\://servicemix.apache.org/schema/servicemix-quartz-2010.01.0-fuse-02-00.xsd=servicemix-quartz.xsd
Also there's a local servicemix-quartz.xsd inside servicemix-quartz-2010.01.0-fuse-02-00.jar,
so it will always find the local xsd files.

Freeman

> 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.


Mime
View raw message