camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r922659 - in /websites/production/camel/content: cache/main.pageCache schematron.html
Date Thu, 18 Sep 2014 08:17:56 GMT
Author: buildbot
Date: Thu Sep 18 08:17:55 2014
New Revision: 922659

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/schematron.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/schematron.html
==============================================================================
--- websites/production/camel/content/schematron.html (original)
+++ websites/production/camel/content/schematron.html Thu Sep 18 08:17:55 2014
@@ -75,7 +75,7 @@
         <div class="top_red_bar">
           <div id="site-breadcrumbs">
                 <!-- Breadcrumbs -->
-<a href="index.html">Apache Camel</a>&nbsp;&gt;&nbsp;<a href="documentation.html">Documentation</a>&nbsp;&gt;&nbsp;<a
href="components.html">Components</a>&nbsp;&gt;&nbsp;<a href="rest.html">Rest</a>&nbsp;&gt;&nbsp;<a
href="schematron.html">Schematron</a>
+<a href="index.html">Apache Camel</a>&nbsp;&gt;&nbsp;<a href="documentation.html">Documentation</a>&nbsp;&gt;&nbsp;<a
href="components.html">Components</a>&nbsp;&gt;&nbsp;<a href="schematron.html">Schematron</a>
           </div>
           <!-- Quicklinks -->
 <div id="site-quicklinks"><p><a shape="rect" href="download.html">Download</a>
| <a shape="rect" href="javadoc.html">JavaDoc</a> | <a shape="rect" href="source.html">Source</a>
| <a shape="rect" href="discussion-forums.html">Forums</a> | <a shape="rect"
href="support.html">Support</a></p></div>
@@ -109,7 +109,14 @@
       &lt;/otherwise&gt;
    &lt;/choice&gt;
 &lt;/route&gt;]]></script>
-</div></div><h3 id="Schematron-Schematronrulesfilelocation.">Schematron
rules file location.</h3><p>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 XSLT as a &#160;Java Templates
Object. This is done only once to minimise the overhead of instantiating Java Templates object,
which can be an expensive operation for large set of rules and given that the process goes
through four pipelines of&#160;<a shape="rect" class="external-link" href="http://www.schematron.com/implementation.html"
rel="nofollow">XSLT transformations</a>. 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.</p><h3 id="Schematron-Brieftutorialofs
 chematron">Brief tutorial of schematron</h3><p>Here is an example of schematron
rules</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader
panelHeader pdl" style="border-bottom-width: 1px;"><b>schematron rules</b></div><div
class="codeContent panelContent pdl">
+</div></div>    <div class="aui-message success shadowed information-macro">
+                    <p class="title">Where to store schematron rules?</p>
+                            <span class="aui-icon icon-success">Icon</span>
+                <div class="message-content">
+                            <p>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 XSLT as a &#160;Java Templates
Object. This is done only once to minimise the overhead of instantiating Java Templates object,
which can be an expensive operation for large set of rules and given that the process goes
through four pipelines of&#160;<a shape="rect" class="external-link" href="http://www.schematron.com/implementation.html"
rel="nofollow">XSLT transformations</a>. 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.</p>
+                    </div>
+    </div>
+<h3 id="Schematron-Schematronrulesandreportsamples"><span style="line-height: 1.5625;">Schematron
rules and report samples</span></h3><p>Here is an example of schematron
rules</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader
panelHeader pdl" style="border-bottom-width: 1px;"><b>schematron rules</b></div><div
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;?xml
version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;schema xmlns=&quot;http://purl.oclc.org/dsdl/schematron&quot;&gt;
    &lt;title&gt;Check Sections 12/07&lt;/title&gt;
@@ -137,7 +144,14 @@
    &lt;/svrl:failed-assert&gt;
    &lt;svrl:fired-rule context=&quot;chapter&quot; /&gt;
 &lt;/svrl:schematron-output&gt;]]></script>
-</div></div><h3 id="Schematron-LinkstoSchematronresources">Links to Schematron
resources</h3><ul><li><a shape="rect" class="external-link" href="http://www.mulberrytech.com/papers/schematron-Philly.pdf"
rel="nofollow">Introduction to Schematron</a> by Mulleberry technologies. An excellent
document in PDF to get you started on Schematron.</li><li><a shape="rect" class="external-link"
href="http://www.schematron.com" rel="nofollow">Schematron official site</a>. This
contains links to other resources</li></ul><p>&#160;</p><p>&#160;</p><p>&#160;</p></div>
+</div></div><p>&#160;</p><p>&#160;</p>    <div
class="aui-message success shadowed information-macro">
+                    <p class="title">Useful Links and resources</p>
+                            <span class="aui-icon icon-success">Icon</span>
+                <div class="message-content">
+                            <ul><li><a shape="rect" class="external-link"
href="http://www.mulberrytech.com/papers/schematron-Philly.pdf" rel="nofollow">Introduction
to Schematron</a>&#160;by Mulleberry technologies. An excellent document in PDF
to get you started on Schematron.</li><li><a shape="rect" class="external-link"
href="http://www.schematron.com" rel="nofollow">Schematron official site</a>. This
contains links to other resources</li></ul>
+                    </div>
+    </div>
+<p>&#160;</p><p>&#160;</p><p>&#160;</p></div>
         </td>
         <td valign="top">
           <div class="navigation">



Mime
View raw message