You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2003/01/16 15:24:30 UTC
cvs commit: xml-xerces/c/doc program-others.xml
knoaman 2003/01/16 06:24:30
Modified: c/doc program-others.xml
Log:
Documentation update.
Revision Changes Path
1.12 +4 -4 xml-xerces/c/doc/program-others.xml
Index: program-others.xml
===================================================================
RCS file: /home/cvs/xml-xerces/c/doc/program-others.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- program-others.xml 10 Jan 2003 15:47:05 -0000 1.11
+++ program-others.xml 16 Jan 2003 14:24:30 -0000 1.12
@@ -565,7 +565,7 @@
XercesDOMParser parser;
// Specify scanner name
-parser.useScanner(XMLUni::fgWFScanner);
+parser.useScanner(XMLUni::fgWFXMLScanner);
// Specify other parser features, e.g.
parser.setDoNamespaces(true);
@@ -588,7 +588,7 @@
SAXParser parser;
// Specify scanner name
-parser.useScanner(XMLUni::fgDGScanner);
+parser.useScanner(XMLUni::fgDGXMLScanner);
// Specify other parser features, e.g.
parser.setLoadExternalDTD(true);
@@ -610,7 +610,7 @@
SAX2XMLReader* parser = XMLReaderFactory::createXMLReader();
// Specify scanner name
-parser->setProperty(XMLUni::fgXercesScannerName, XMLUni::fgSGScanner);
+parser->setProperty(XMLUni::fgXercesScannerName, XMLUni::fgSGXMLScanner);
// Specify other parser features, e.g.
parser->setFeature(XMLUni::fgXercesSchemaFullChecking, false);
@@ -631,7 +631,7 @@
DOMBuilder *parser = ((DOMImplementationLS*)impl)->createDOMBuilder(DOMImplementationLS::MODE_SYNCHRONOUS, 0);
// Specify scanner name - This is optional as IGXMLScanner is the default
-parser->setProperty(XMLUni::fgXercesScannerName, XMLUni::fgIGScanner);
+parser->setProperty(XMLUni::fgXercesScannerName, XMLUni::fgIGXMLScanner);
// Specify other parser features, e.g.
parser->setFeature(XMLUni::fgDOMNamespaces, doNamespaces);
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org