You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2006/06/07 09:29:47 UTC

svn commit: r412312 - in /forrest/trunk/site-author: content/xdocs/howto-dev.xml content/xdocs/site.xml status.xml

Author: crossley
Date: Wed Jun  7 00:29:47 2006
New Revision: 412312

URL: http://svn.apache.org/viewvc?rev=412312&view=rev
Log:
New section for "Using Cocoon Validation Transformers".

Modified:
    forrest/trunk/site-author/content/xdocs/howto-dev.xml
    forrest/trunk/site-author/content/xdocs/site.xml
    forrest/trunk/site-author/status.xml

Modified: forrest/trunk/site-author/content/xdocs/howto-dev.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/howto-dev.xml?rev=412312&r1=412311&r2=412312&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/howto-dev.xml (original)
+++ forrest/trunk/site-author/content/xdocs/howto-dev.xml Wed Jun  7 00:29:47 2006
@@ -484,6 +484,33 @@
         </p>
       </section>
 
+      <section id="debug-validation">
+        <title>Using Cocoon Validation Transformers</title>
+        <p>
+          Validating Transformers can be inserted in the sitemaps to validate
+          the xml stream at that stage.
+          Enables RELAX NG validation and W3C XML Schema validation using
+          Jing and Xerces.
+        </p>
+        <p>
+          The Validation Block is already added to Forrest and configured.
+          To use it simply add entries to your sitemap like this:
+        </p>
+      <source><![CDATA[
+...
+<map:transform type="validation-report"
+  src="{forrest:context}/resources/schema/relaxng/unstable/any.rng"/>
+...
+]]></source>
+        <p>See
+          <a href="http://marc.theaimsgroup.com/?t=112541971900003">Pier's note to cocoon-dev</a> and
+
+          Cocoon documentation:
+          <a href="http://cocoon.zones.apache.org/daisy/documentation/components/1058/g2/684.html">ValidatingTransformer</a> and
+          <a href="http://cocoon.zones.apache.org/daisy/documentation/components/1058/g2/691.html">ValidationReportTransformer</a>.
+        </p>
+      </section>
+
       <section id="debug-java">
         <title>Java code</title>
         <p>

Modified: forrest/trunk/site-author/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/site.xml?rev=412312&r1=412311&r2=412312&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/site.xml (original)
+++ forrest/trunk/site-author/content/xdocs/site.xml Wed Jun  7 00:29:47 2006
@@ -76,7 +76,10 @@
    </infrastructure>  
     
     <procedures label="Procedures &amp; Best Practice"  tab="project" description="Procedures and best practices for common tasks">
-        <forrest-dev label="Development guidelines" href="howto-dev.html" description="Describes tips and procedures for efficiently developing with Forrest."/>  
+        <forrest-dev label="Development tips" href="howto-dev.html" description="Describes tips and procedures for efficiently developing with Forrest.">  
+        
+          <debug-validation href="#debug-validation"/>
+        </forrest-dev>
         <bugs label="Reporting Bugs and Issues" href="issues.html"/>
         <svnBP label="Subversion Best Practices" href="subversion_bestpractices.html"/>
         <docsBP label="Documentation Best Practices" href="documentation_bestpractices.html" description="What to do or

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=412312&r1=412311&r2=412312&view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Wed Jun  7 00:29:47 2006
@@ -263,11 +263,9 @@
 
 <!-- FIXME DC up to here -->
       <action context="code" type="add" dev="DC" due-to="Pier Fumagalli">
-        Added Validation transformer to enable RELAX NG validation and
+        Add Validation Block. Uses transformers to enable RELAX NG validation and
         W3C XML Schema validation using Jing and Xerces.
-        See <link
-          href="http://marc.theaimsgroup.com/?l=forrest-dev&amp;m=112598308027438">forrest-dev
-          discussion</link>.
+        See <link href="site:procedures/forrest-dev/debug-validation">documentation</link>.
       </action>
       <action context="docs" type="add" dev="DC">
         We now have a regular 24-hour IRC session once per month. Developers get together.