You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by DrWater <su...@gmail.com> on 2006/11/01 07:25:17 UTC
spring 2.0 example xml Invalid Schema URL for example config file?
I use example file
(http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html)
config spring 2.0 ,but throw exception
cos-nonambig: "http://activemq.org/config/1.0":redeliveryPolicy and
WC[##any] (or elements from their substitution group) violate "Unique
Particle Attribution"
I check
XSD(http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd),
<xs:choice minOccurs="0">
<xs:element ref="tns:redeliveryPolicy"/>
<xs:any/>
</xs:choice>
change to:
<xs:choice minOccurs="0">
<xs:element ref="tns:redeliveryPolicy"/>
</xs:choice>
or
<xs:choice minOccurs="0">
<xs:any/>
</xs:choice>
It's ok,so I think ,if u use xs:any,u don't use other xs:element.
I find this url:
https://issues.apache.org/activemq/browse/AMQ-1014
my english pool,sorry about it.
--
View this message in context: http://www.nabble.com/spring-2.0-example-xml-Invalid-Schema-URL-for-example-config-file--tf2550482.html#a7108762
Sent from the ActiveMQ - User mailing list archive at Nabble.com.