activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (JIRA)" <>
Subject [jira] Resolved: (AMQ-1461) Spring integration: wrong entry in spring.schemas
Date Sun, 13 Sep 2009 10:38:12 GMT


Rob Davies resolved AMQ-1461.

       Resolution: Fixed
    Fix Version/s:     (was: 5.4.0)

> Spring integration: wrong entry in spring.schemas
> -------------------------------------------------
>                 Key: AMQ-1461
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.1
>         Environment: w/ spring 2.0.7, jdk 1.4.2
>            Reporter: G√ľnther Wieser
>             Fix For: 5.3.0
> META-INF/spring.schemas in the active mq jar contains in release 4.1.1:
> http\://
> this is wrong in the sense that here the namespace is mapped against the relative location
of the XSD in the classpath. instead of the namespace the XSD location from the XML config
should be used.
> Think about the following spring XML application context header:
> <beans xmlns=""
> 	xmlns:xsi=""
> 	xmlns:amq=""
> 	xsi:schemaLocation="
> 		">
> spring resolves the URL 
> by first looking up the classpath for files that match "META-INF/spring.schema", and
if it finds one ore more it looks inside to read the property within these files. it than
tries to match the key of the property against the schema location entry of the xsi:schemaLocation
entry, which in this example would be a match of ""
and NOT "".
> i have locally fixed this bug by modifying the META-INF/spring.schemas file to:
> http\://
> with this setting it works fine here. with the original setting there was no chance to
get it up and running, which is strange because of the following examples:
> for details on spring and spring.schemas see

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message