Andrea Cosentino created CAMEL-26519:
----------------------------------------
Summary: camel-catalog -
DocExamplesXmlSchemaTest.everyXmlExampleOfTheUserManualValidates fails under a
non-English locale
Key: CAMEL-26519
URL: https://issues.apache.org/jira/browse/CAMEL-26519
Project: Camel
Issue Type: Test
Components: camel-catalog
Reporter: Andrea Cosentino
On main, {{DocExamplesXmlSchemaTest.everyXmlExampleOfTheUserManualValidates}}
fails when the build runs with an Italian locale ({{LANG=it_IT.UTF-8}}) and
passes with an English one ({{-Duser.language=en -Duser.country=US}}), on the
same sources:
{noformat}
using-propertyplaceholder.adoc:632 example 11: Il prefisso "prop" per
l'attributo "prop:stopOnException" associato a un tipo di elemento "multicast"
non รจ associato.
{noformat}
The example is the fragment {{<multicast prop:stopOnException="stop">}}, which
does not declare the {{prop}} namespace (the complete example below it does).
CI runs with an English locale, so it only fails in local builds. The test
should not depend on the locale, for example by declaring the {{prop}}
placeholder namespace for such fragments, or by skipping fragments with an
unbound prefix without relying on the parser's message.
_Claude Code on behalf of Andrea Cosentino (oscerd)_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)