[
https://issues.apache.org/jira/browse/ARTEMIS-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-2998.
-------------------------------------
Resolution: Invalid
You should use the {{artemis-server.xsd}} schema to validate the
{{broker.xml}}, e.g.:
{noformat}
$ xmllint --schema apache-artemis-2.16.0/schema/artemis-server.xsd
apache-artemis-2.16.0/examples/features/federation/federated-queue/src/main/resources/activemq/server0/broker.xml
--noout
apache-artemis-2.16.0/examples/features/federation/federated-queue/src/main/resources/activemq/server0/broker.xml
validates
{noformat}
> example broker.xml does not validate artemis-configuration.xsd
> --------------------------------------------------------------
>
> Key: ARTEMIS-2998
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2998
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.16.0
> Reporter: arne anka
> Priority: Major
>
> {code:java}
> $ xmllint --schema apache-artemis-2.16.0/schema/artemis-configuration.xsd
> apache-artemis-2.16.0/examples/features/federation/federated-queue/src/main/resources/activemq/server0/broker.xml
> --noout
> apache-artemis-2.16.0/examples/features/federation/federated-queue/src/main/resources/activemq/server0/broker.xml:22:
> elementconfiguration: Schemas validity error : Element
> '{urn:activemq}configuration': No matching global declaration available for
> the validation root.
> apache-artemis-2.16.0/examples/features/federation/federated-queue/src/main/resources/activemq/server0/broker.xml
> fails to validate{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)