activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PJGratz <pjgr...@yahoo.com>
Subject SAXParserException with amq namespace.
Date Thu, 21 Aug 2008 04:07:17 GMT

I am receiving errors when trying to parse out an XML Configuration file that
contains the amq namespace.

The matching wildcard is strict, but no declaration can be found for element
'amq:broker'

I used two beans configurations, one from the ActiveMQ Spring example and
the other from the default XML Configuration page.

Default XML Configuration page:

<beans
  xmlns="http://www.springframework.org/schema/beans"
  xmlns:amq="http://activemq.apache.org/schema/core"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd   
  http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">



<beans 
  xmlns="http://www.springframework.org/schema/beans" 
  xmlns:amq="http://activemq.apache.org/schema/core"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">



-- 
View this message in context: http://www.nabble.com/SAXParserException-with-amq-namespace.-tp19082160p19082160.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message