cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: ValidationTransformer
Date Tue, 10 Aug 2004 12:53:35 GMT
   Date: 2004-08-10T05:53:35
   Editor: DavidPérez <dperezcar@fcc.es>
   Wiki: Cocoon Wiki
   Page: ValidationTransformer
   URL: http://wiki.apache.org/cocoon/ValidationTransformer

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -87,7 +87,7 @@
 {{{
 <map:transformers>
 	....
-	<map:transformer logger='transf.validate' name='validate' src='fcc.ima.cocoon.ValidatorTransformer'/>
+	<map:transformer name='report-validate' src='fcc.ima.cocoon.ValidatorReportTransformer'/>
 	....
 </map:transformers>
 }}}
@@ -100,9 +100,10 @@
 <map:resource name='html'>
 	<map:generate src='my-file.xml'/>
 	<map:transform type='my-transform'/>
-	<map:transform type='validate' src='validation/xhtml1-transitional.dtd'>
+	<map:transform type='report-validate' src='validation/xhtml1-transitional.dtd'>
 		<map:parameter name='active' value='true'/>
 	</map:transform>
+	<map:transform src='report-to-html.xsl'/>
 	<map:serialize type='html'/>
 </map:resource>
 }}}
@@ -111,11 +112,11 @@
 
 ==== Configuration ====
 
-Nothing is needed
+Nothing is needed.
 
 === Pre-requisites ===
 
-The transformer uses a product called [http://wwws.sun.com/software/xml/developers/multischema/
Sun Multi-Schema XML Validator].  It has been tested with version {{{20030225}}}.  You need
to place the file {{{msv.jar}}} and other ones this product needs like {{{xsdlib.jar}}}, {{{relaxngDatatype.jar}}}
and {{{isorelax.jar}}} in {{{WEB-INF/lib}}} of your {{{Cocoon}}} installation.  All these
JARs are included in {{{msv.zip}}}.
+Both transformers use a product called [http://wwws.sun.com/software/xml/developers/multischema/
Sun Multi-Schema XML Validator].  It has been tested with version {{{20030225}}}.  You need
to place the file {{{msv.jar}}} and other ones this product needs like {{{xsdlib.jar}}}, {{{relaxngDatatype.jar}}}
and {{{isorelax.jar}}} in {{{WEB-INF/lib}}} of your {{{Cocoon}}} installation.  All these
JARs are included in {{{msv.zip}}}.
 
 === Contact the author ===
 
@@ -128,4 +129,3 @@
 [[BR]]
 [[BR]]
 '''Attachment:''' attachment:MiXMLPipe.java [[BR]]
-'''Attachment:''' attachment:ValidatorTransformer.java [[BR]]

Mime
View raw message