You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/10/12 00:22:53 UTC
cvs commit: xml-xerces/java/design architecture.html
andyc 00/10/11 15:22:53
Modified: java/design Tag: xerces_j_2 architecture.html
Log:
Modified architecture overview of DTD pipeline. The change
makes it easy to create a parser configuration with no
validation and without compilation dependcies on the
validation system as well! In the new model, the validator
would act as a "tee" to both propagate the events as well
as build the DTD grammar object.
Revision Changes Path
No revision
No revision
1.1.2.7 +19 -9 xml-xerces/java/design/Attic/architecture.html
Index: architecture.html
===================================================================
RCS file: /home/cvs/xml-xerces/java/design/Attic/architecture.html,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -r1.1.2.6 -r1.1.2.7
--- architecture.html 2000/10/07 00:49:56 1.1.2.6
+++ architecture.html 2000/10/11 22:22:52 1.1.2.7
@@ -1,4 +1,4 @@
-<!-- $Id: architecture.html,v 1.1.2.6 2000/10/07 00:49:56 jeffreyr Exp $ -->
+<!-- $Id: architecture.html,v 1.1.2.7 2000/10/11 22:22:52 andyc Exp $ -->
<html>
<head>
<title>Xerces 2 | Architecture</title>
@@ -111,24 +111,34 @@
<td><img alt='-->' src='images/arrow-right.gif'></td>
<td class='component'>DTD<br>Scanner</td>
<td><img alt='-->' src='images/arrow-right.gif'></td>
- <td class='component'>DTD<br>Grammar</td>
+ <td class='component' rowspan='3'>Validator</td>
<td><img alt='-->' src='images/arrow-right.gif'></td>
<td class='component'>Parser</td>
<td><img alt='-->' src='images/arrow-right.gif'></td>
<td class='diagram'>Application<br>API</td>
</tr>
+ <tr><td> </td></tr>
+ <tr class='diagram'>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td><img alt='-->' src='images/arrow-right.gif'></td>
+ <td class='component'>DTD<br>Grammar</td>
+ </tr>
</table>
</td>
</tr>
</table>
</p>
<p>
- Note that the DTD scanner doesn't directly communicate with
- the validator. This is because the validator is <em>universal</em>
- in that it can validate document structure and content in a
- general way and is not tied to a specific grammar syntax. Please
- refer to the section on <a href='validation.htm'>Validation</a> for
- additional information.
+ Note that the DTD scanner communicates directly with the validator.
+ The validator receives the callbacks from the DTD scanner in order
+ to create and populate the DTD grammar object. In this way, the
+ validator acts as a "tee", propogating the DTD events to both
+ the next stage in the pipeline and the DTD grammar object. This
+ allows the validation stage in the pipeline to be completely
+ removed from the parser configuration, if needed.
</p>
<a name='Configuration'></a>
<h2>Configuration</h2>
@@ -344,7 +354,7 @@
<a name='BOTTOM'></a>
<hr>
<span class='netscape'>
- Last modified: $Date: 2000/10/07 00:49:56 $
+ Last modified: $Date: 2000/10/11 22:22:52 $
</span>
</body>
</html>