rahulj 99/11/11 18:13:47
Modified: c/samples/DOMCount DOMCount.cpp
Log:
It now validates when the -v option is specified.
Revision Changes Path
1.2 +4 -0 xml-xerces/c/samples/DOMCount/DOMCount.cpp
Index: DOMCount.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/DOMCount/DOMCount.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DOMCount.cpp 1999/11/09 01:09:52 1.1
+++ DOMCount.cpp 1999/11/12 02:13:40 1.2
@@ -56,9 +56,12 @@
/**
* $Log: DOMCount.cpp,v $
- * Revision 1.1 1999/11/09 01:09:52 twl
- * Initial revision
+ * Revision 1.2 1999/11/12 02:13:40 rahulj
+ * It now validates when the -v option is specified.
*
+ * Revision 1.1.1.1 1999/11/09 01:09:52 twl
+ * Initial checkin
+ *
* Revision 1.8 1999/11/08 20:43:34 rahul
* Swat for adding in Product name and CVS comment log variable.
*
@@ -143,6 +146,7 @@
// Instantiate the DOM parser.
DOMParser parser;
+ parser.setDoValidation(doValidation);
// And create our error handler and install it
DOMCount elementCounter;