This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch feature/CAMEL-24774-doc-example-guards
in repository https://gitbox.apache.org/repos/asf/camel.git
from fd12c0941eaf CAMEL-24774: docs - three more build-time guards for the
documentation examples: the XML examples validate against camel-spring.xsd and
camel-xml-io.xsd (a camelContext whole, any other Camel element as the global
element it is, so a fragment is judged without an order it never meant), every
import org.apache.camel line of a Java example names a class of the source
tree, and the YAML route examples of the user manual pass the YAML validator;
the examples the first ru [...]
add a168161c20a3 CAMEL-24774: Address review feedback: the global elements
of the schema are read from the parsed XSD (with a check that the set is real)
instead of a regex on its formatting, the user-manual YAML block pattern
accepts delimiters of four or more dashes as the XML one does, and the two
source-tree finders reference each other
No new revisions were added by this update.
Summary of changes:
.../catalog/components/azure-storage-blob.json | 4 +--
.../org/apache/camel/catalog/components/git.json | 2 +-
.../camel/catalog/DocExamplesXmlSchemaTest.java | 29 ++++++++++++++++++----
.../yaml/validator/UserManualDocExamplesTest.java | 4 ++-
4 files changed, 30 insertions(+), 9 deletions(-)