You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/11/22 15:47:14 UTC
cvs commit: xml-xerces/c/doc enumval.xml samples.xml senumval.xml
tng 01/11/22 06:47:14
Modified: c/doc enumval.xml samples.xml senumval.xml
Log:
Use the phrase "Grammar" instead of "Validator" in EnumVal and SEnumVal Description.
Revision Changes Path
1.6 +11 -5 xml-xerces/c/doc/enumval.xml
Index: enumval.xml
===================================================================
RCS file: /home/cvs/xml-xerces/c/doc/enumval.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- enumval.xml 2001/11/20 18:57:58 1.5
+++ enumval.xml 2001/11/22 14:47:14 1.6
@@ -4,14 +4,20 @@
<s1 title="&XercesCName; Sample 9: EnumVal">
<s2 title="EnumVal">
- <p>EnumVal shows how to enumerate the markup decls in a DTD Validator.</p>
+ <p>EnumVal shows how to enumerate the markup decls in a DTD Grammar.</p>
<s3 title="Running EnumVal">
<p>This program parses the specified XML file, then shows how to
- enumerate the contents of the validator pools. Essentially,
- shows how one can access the DTD information stored in internal
- data structures. To run EnumVal, enter the following </p>
-<source>EnumVal <XML file></source>
+ enumerate the contents of the DTD Grammar.</p>
+<source>
+Usage:
+ EnumVal <XML file>
+
+This program parses the specified XML file, then shows how to
+enumerate the contents of the DTD Grammar. Essentially,
+shows how one can access the DTD information stored in internal
+data structures.
+</source>
<p>Here is a sample output from EnumVal</p>
<source>cd &XercesCInstallDir;-linux/samples/data
EnumVal personal.xml
1.13 +2 -2 xml-xerces/c/doc/samples.xml
Index: samples.xml
===================================================================
RCS file: /home/cvs/xml-xerces/c/doc/samples.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- samples.xml 2001/11/21 22:08:48 1.12
+++ samples.xml 2001/11/22 14:47:14 1.13
@@ -54,9 +54,9 @@
<li><link idref="stdinparse">StdInParse</link>
<br/>StdInParse demonstrates streaming XML data from standard input.</li>
<li><link idref="enumval">EnumVal</link>
- <br/>EnumVal shows how to enumerate the markup decls in a DTD Validator.</li>
+ <br/>EnumVal shows how to enumerate the markup decls in a DTD Grammar.</li>
<li><link idref="senumval">SEnumVal</link>
- <br/>SEnumVal shows how to enumerate the markup decls in a Schema Validator.</li>
+ <br/>SEnumVal shows how to enumerate the markup decls in a Schema Grammar.</li>
<li><link idref="createdoc">CreateDOMDocument</link>
<br/>CreateDOMDocument creates a DOM tree in memory from scratch.</li>
<li><link idref="sax2count">SAX2Count</link>
1.3 +17 -12 xml-xerces/c/doc/senumval.xml
Index: senumval.xml
===================================================================
RCS file: /home/cvs/xml-xerces/c/doc/senumval.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- senumval.xml 2001/11/21 22:09:06 1.2
+++ senumval.xml 2001/11/22 14:47:14 1.3
@@ -4,14 +4,19 @@
<s1 title="&XercesCName; Sample 9: SEnumVal">
<s2 title="SEnumVal">
- <p>SEnumVal shows how to enumerate the markup decls in a DTD Validator.</p>
+ <p>SEnumVal shows how to enumerate the markup decls in a Schema Grammar.</p>
<s3 title="Running SEnumVal">
<p>This program parses the specified XML file, then shows how to
- enumerate the contents of the validator pools. Essentially,
- shows how one can access the Schema information stored in internal
- data structures. To run SEnumVal, enter the following </p>
-<source>SEnumVal <XML file></source>
+ enumerate the contents of the Schema Grammar. </p>
+<source>
+Usage:
+ SEnumVal <XML file>
+
+This program parses a file, then shows how to enumerate the
+contents of the Schema Grammar. Essentially, shows how one can
+access the Schema information stored in internal data structures.
+</source>
<p>Here is a sample output from SEnumVal</p>
<source>cd &XercesCInstallDir;-linux/samples/data
SEnumVal personal-schema.xml
@@ -40,23 +45,23 @@
Base Datatype: Decimal
Facets:
fractionDigits=0
-
+
Name: id
Type: ID
Default Type: #REQUIRED
Base Datatype: ID
-
+
Name: contr
Type: CDATA
Default Type: #DEFAULT
Value: false
Base Datatype: string
-
+
Name: note
Type: CDATA
Default Type: #IMPLIED
Base Datatype: string
-
+
--------------------------------------------
Name: name
Model Type: Children
@@ -94,7 +99,7 @@
Default Type: #DEFAULT
Value: http://
Base Datatype: string
-
+
--------------------------------------------
Name: link
Model Type: Empty
@@ -107,12 +112,12 @@
Type: IDREFS
Default Type: #IMPLIED
Base Datatype: List
-
+
Name: manager
Type: IDREF
Default Type: #IMPLIED
Base Datatype: IDREF
-
+
--------------------------------------------
</source>
</s3>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org