Wrong XSD URL in spring.schemas
-------------------------------

                 Key: AMQ-2434
                 URL: https://issues.apache.org/activemq/browse/AMQ-2434
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.2.0
            Reporter: Alaa Mohssen Nassef
             Fix For: 5.3.0


In spring.schemas, the XSD url given is 
"http://activemq.apache.org/schema/core/activemq-core.xsd";. However, this XSD 
file does not exist in reality, so using this URL will always give XML errors 
while using any IDE. If we use a correct URL (eg. 
"http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd";) everything 
will work fine, but problems will occur if the application can't connect to the 
URL, since the XSD will not be loaded.

I believe that adding a line like the following to spring.schemas is going to 
solve the problem
http\://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd=activemq.xsd

Of course the XSD URL would change for each version.


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

Reply via email to