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 13:01:07 GMT
   Date: 2004-08-10T06:01:07
   Editor: DavidPérez <dperezcar@fcc.es>
   Wiki: Cocoon Wiki
   Page: ValidationTransformer
   URL: http://wiki.apache.org/cocoon/ValidationTransformer

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,8 +1,17 @@
+=== General ===
+
+In this page I present two  [:Transformer]s  that ease the validation of XML documents:
+
+* ValidatorTransformer
+* ValidatorReportTransformer
+
+that we will cover in more detail below.
+
 === ValidatorTransformer ===
 
 ==== Description ====
 
-In this page I present a [:Transformer] that can be inserted in any stage of an XML pipeline,
in order to validate its contents.  This can be a powerful tool for debugging and conformance
testing.  All detected errors and warnings are dumped to the logs.  The transformer uses directly
SAX events in order to validate.
+This transformer can be inserted in any stage of an XML pipeline, in order to validate its
contents.  This can be a powerful tool for debugging and conformance testing.  All detected
errors and warnings are dumped to the logs.  The transformer uses directly SAX events in order
to validate.  It operates in a non-intrusive way, it can be commented out and the pipeline
will work in the same fashion.
 
 ==== Declaration ====
 
@@ -54,13 +63,11 @@
  *  stop-for-warnings, default value {{{false}}}.
  *  stop-for-fatal, default value {{{true}}}.
 
-=== ValidationReportTransformer ===
+=== ValidatorReportTransformer ===
 
 ==== Description ====
 
-It is very similar to the previous one.
-It generates a report about the conformance of the XML data it receives with any schema,
DTD supplied to the transformer.
-Can be useful for debugging or quality control purposes
+It is very similar to the {{ValidatorTransformer}}.  Instead of letting pass through all
the SAX events and generate the report on the logs, it generates the report directly as an
output XML stream.  This report informs about the conformance of the XML input data with any
schema, DTD supplied to the transformer.  It can be useful for debugging or quality control
purposes
 
 It generates an output XML document whose root element is called {{report}} and may have
child elements {{fatal-error}}, {{error}}, {{warning}}.  This report can easily be transformed
to a HTML report through a simple XSTL sheet.
 

Mime
View raw message