A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/684.html
Document ID: 684
Branch: main
Language: default
Name: ValidatingTransformer (unchanged)
Document Type: Document (unchanged)
Updated on: 9/13/05 10:11:14 PM
Updated by: Pier Fumagalli
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 3518 bytes (previous version: 3436 bytes)
Content diff:
(2 equal lines skipped)
<p>The <tt>ValidatingTransformer</tt> provides a very simple
<tt>Transformer</tt> implementation validating documents in a pipeline
using the
--- validation framework provided by the validation block.</p>
+++ validation framework provided by the <a href="daisy:683">validation
block</a>.
+++ </p>
<p>The configuration for this transformer is extremely easy: Like any other
component, it needs to be declared in a sitemap's
(28 equal lines skipped)
<p>The only defined (but <strong>not required</strong>) configuration
element
for this component is <tt><grammar><em>... grammar identifier
...</em></grammar></tt> indicating the grammar to pass to the
Validator
--- component. See the documentation of the validation block for more
information on
--- what this means.</p>
+++ component. See the documentation of the <a
href="daisy:683#grammars">validation
+++ block</a> for more information on what this means.</p>
<p>The use of the <tt>ValidatingTransformer</tt> is again extremely simple.
Simply declare it in the pipeline like any other transformer:</p>
(32 equal lines skipped)
<p>Note that if multiple errors occur in any document, only the first one
will
be reported: this transformer doesn't give you a report of all errors in the
document, it simply fail on the first error detected. Another transformer,
the
--- <tt>ValidationReportTransformer</tt> allows to produce validation
reports.</p>
+++ <a href="daisy:691"><tt>ValidationReportTransformer</tt> </a>allows to
produce
+++ validation reports.</p>
</body>
</html>
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes