This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit e4d2eeff7843384599711bb0c844b1c6a94f8920 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Jan 13 10:42:47 2020 +0100 Camel-Schematron: Improve TIP section --- docs/components/modules/ROOT/pages/schematron-component.adoc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/schematron-component.adoc b/docs/components/modules/ROOT/pages/schematron-component.adoc index f927165..5f472e9 100644 --- a/docs/components/modules/ROOT/pages/schematron-component.adoc +++ b/docs/components/modules/ROOT/pages/schematron-component.adoc @@ -165,7 +165,10 @@ XML DSL. The schematrion rules file is sourced from the file system: </route> ----------------------------------------------------------------------------------------------- -TIP: *Where to store schematron rules?* +[TIP] +==== +*Where to store schematron rules?* + Schematron rules can change with business requirement, as such it is recommended to store these rules somewhere in file system. When the schematron component endpoint is started, the rules are compiled into @@ -178,6 +181,7 @@ So if you happen to store the rules in the file system, in the event of an update, all you need is to restart the route or the component. No harm in storing these rules in the class path though, but you will have to build and deploy the component to pick up the changes. +==== == Schematron rules and report samples @@ -223,9 +227,13 @@ Here is an example of schematron report: </svrl:schematron-output> ------------------------------------------------------------------------ -TIP: *Useful Links and resources* +[TIP] +==== +*Useful Links and resources* + * http://www.mulberrytech.com/papers/schematron-Philly.pdf[Introduction to Schematron] by Mulleberry technologies. An excellent document in PDF to get you started on Schematron. * http://www.schematron.com[Schematron official site]. This contains links to other resources +====