You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Laures <ba...@googlemail.com> on 2011/11/09 10:21:21 UTC
XML Validation fails for Placeholder on non string attributes
I'm using a placeholder to configure the waitForSlave property of a broker.
The xml validation fails on this property because ${cluster.replication} is
no valid boolean.
The easy workaround is to start activemq without validation.
should i open an issue on the bugtracker for this?
--
View this message in context: http://activemq.2283324.n4.nabble.com/XML-Validation-fails-for-Placeholder-on-non-string-attributes-tp4019161p4019161.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: XML Validation fails for Placeholder on non string attributes
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi Joe,
thanks for pointing this out.
https://issues.apache.org/jira/browse/AMQ-3168 is now fixed. For older
version, turn off schema validation. See
http://activemq.apache.org/xml-reference.html#XmlReference-SchemaValidationAlphabeticallyOrderedXMLElements%28Newin5.4%29
for more info
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Fri, Nov 11, 2011 at 1:10 AM, Joe Niski <jo...@nwea.org> wrote:
> Dejan: i encountered this issue and created https://issues.apache.org/**
> jira/browse/AMQ-3168 <https://issues.apache.org/jira/browse/AMQ-3168>last January, and it's still open.
>
> *Joe Niski*
> Senior Developer - Information Services | NWEA™
>
> PHONE 503.548.5207 | FAX 503.639.7873
>
> NWEA.ORG <http://www.nwea.org/> | Partnering to help all kids learn™
>
>
>
> On 11/09/2011 04:06 AM, Dejan Bosanac wrote:
>
>> ActiveMQ uses Spring xml configs and placeholders, so it should work with
>> non-String values. Can you create a test that demonstrates your issue?
>>
>> Regards
>> -- Dejan Bosanac - http://twitter.com/dejanb ----------------- The
>> experts in open source integration and messaging - http://fusesource.comActiveMQ in Action -
>> http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed,
>> Nov 9, 2011 at 10:21 AM, Laures <ba...@googlemail.com>
>> >wrote:
>>
>>> > I'm using a placeholder to configure the waitForSlave property of a
>>> broker.
>>> > The xml validation fails on this property because
>>> ${cluster.replication} is
>>> > no valid boolean.
>>> >
>>> > The easy workaround is to start activemq without validation.
>>> >
>>> > should i open an issue on the bugtracker for this?
>>>
>>
Re: XML Validation fails for Placeholder on non string attributes
Posted by Joe Niski <jo...@nwea.org>.
Dejan: i encountered this issue and created
https://issues.apache.org/jira/browse/AMQ-3168 last January, and it's
still open.
*Joe Niski*
Senior Developer - Information Services | NWEA™
PHONE 503.548.5207 | FAX 503.639.7873
NWEA.ORG <http://www.nwea.org/> | Partnering to help all kids learn™
On 11/09/2011 04:06 AM, Dejan Bosanac wrote:
> ActiveMQ uses Spring xml configs and placeholders, so it should work with
> non-String values. Can you create a test that demonstrates your issue?
>
> Regards
> -- Dejan Bosanac - http://twitter.com/dejanb ----------------- The
> experts in open source integration and messaging -
> http://fusesource.com ActiveMQ in Action -
> http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed,
> Nov 9, 2011 at 10:21 AM, Laures <ba...@googlemail.com>wrote:
>> > I'm using a placeholder to configure the waitForSlave property of a broker.
>> > The xml validation fails on this property because ${cluster.replication} is
>> > no valid boolean.
>> >
>> > The easy workaround is to start activemq without validation.
>> >
>> > should i open an issue on the bugtracker for this?
Re: XML Validation fails for Placeholder on non string attributes
Posted by Dejan Bosanac <de...@nighttale.net>.
ActiveMQ uses Spring xml configs and placeholders, so it should work with
non-String values. Can you create a test that demonstrates your issue?
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Wed, Nov 9, 2011 at 10:21 AM, Laures <ba...@googlemail.com>wrote:
> I'm using a placeholder to configure the waitForSlave property of a broker.
> The xml validation fails on this property because ${cluster.replication} is
> no valid boolean.
>
> The easy workaround is to start activemq without validation.
>
> should i open an issue on the bugtracker for this?
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/XML-Validation-fails-for-Placeholder-on-non-string-attributes-tp4019161p4019161.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>