activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alaa Mohssen Nassef (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2434) Wrong XSD URL in spring.schemas
Date Tue, 06 Oct 2009 21:00:52 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54637#action_54637
] 

Alaa Mohssen Nassef commented on AMQ-2434:
------------------------------------------

Yeah, I know that the indirection is correct. I thought that there was a problem with the
documentation, since I copied the URL http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd
from some documentation, but it was from some site that provided spring examples. I can now
see from the official documentation that the URL used in the spring configuration file is
the same one used in spring.schemas. My mistake that I didn't refer to the official docs before
issuing this.

> 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
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> 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.


Mime
View raw message