From 24b724e4e7a0018eb6675aa14c5c563bc4c24d86 Mon Sep 17 00:00:00 2001
From: David Abram Cargill <cargilld@apache.org>
Date: Mon, 21 Feb 2005 23:28:18 +0000
Subject: [PATCH] Doc updates, including xercesc-1352.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@176318 13f79535-47bb-0310-9956-ffa450edef68
---
 doc/program-dom.xml  | 6 +++---
 doc/program-sax.xml  | 4 ++--
 doc/program-sax2.xml | 2 +-
 doc/program.xml      | 7 ++++---
 4 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/doc/program-dom.xml b/doc/program-dom.xml
index a6f2f6777..4784253c2 100644
--- a/doc/program-dom.xml
+++ b/doc/program-dom.xml
@@ -536,8 +536,8 @@
                 <tr><th><em>false:</em></th><td>Parse the schema grammar.</td></tr>
                 <tr><th><em>default:</em></th><td> false </td></tr>
                 <tr><th><em>note:</em></th><td>The getter function for this method is called isUsingCachedGrammarInParse.</td></tr>
-                <tr><th><em>note:</em></th><td>If the grammar caching option is enabled, this option is set to true automatically.
-                Any setting to this option by the users is a no-op.</td></tr>
+                <tr><th><em>note:</em></th><td>If the grammar caching option is enabled, this option is set to true automatically and
+                any setting to this option by the user is a no-op.</td></tr>
                 <tr><th><em>see:</em></th><td>
                 <link anchor="cache-grammar">cacheGrammarFromParse</link>
                 </td></tr>
@@ -1256,7 +1256,7 @@
                 <tr><th><em>default:</em></th><td> false </td></tr>
                 <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgXercesUseCachedGrammarInParse </td></tr>
                 <tr><th><em>note:</em></th><td>If http://apache.org/xml/features/validation/cache-grammarFromParse is enabled,
-                this feature is set to true automatically. Any setting to this feature by the users is a no-op.</td></tr>
+                this feature is set to true automatically and any setting to this feature by the user is a no-op.</td></tr>
                 <tr><th><em>see:</em></th><td>
                 <link anchor="builder-cache-grammar">http://apache.org/xml/features/validation/cache-grammarFromParse</link>
                 </td></tr>
diff --git a/doc/program-sax.xml b/doc/program-sax.xml
index d9c92410e..883792dd1 100644
--- a/doc/program-sax.xml
+++ b/doc/program-sax.xml
@@ -313,8 +313,8 @@ void MySAXHandler::fatalError(const SAXParseException&amp; exception)
                 <tr><th><em>false:</em></th><td>Parse the schema grammar.</td></tr>
                 <tr><th><em>default:</em></th><td> false </td></tr>
                 <tr><th><em>note:</em></th><td>The getter function for this method is called isUsingCachedGrammarInParse.</td></tr>
-                <tr><th><em>note:</em></th><td>If the grammar caching option is enabled, this option is set to true automatically.
-                Any setting to this option by the users is a no-op.</td></tr>
+                <tr><th><em>note:</em></th><td>If the grammar caching option is enabled, this option is set to true automatically
+                and any setting to this option by the user is a no-op.</td></tr>
                 <tr><th><em>see:</em></th><td>
                 <link anchor="cache-grammar">cacheGrammarFromParse</link>
                 </td></tr>
diff --git a/doc/program-sax2.xml b/doc/program-sax2.xml
index 25e0f6663..c36e5b2bc 100644
--- a/doc/program-sax2.xml
+++ b/doc/program-sax2.xml
@@ -340,7 +340,7 @@ void MySAX2Handler::fatalError(const SAXParseException&amp; exception)
                 <tr><th><em>default:</em></th><td> false </td></tr>
                 <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgXercesUseCachedGrammarInParse </td></tr>
                 <tr><th><em>note:</em></th><td>If http://apache.org/xml/features/validation/cache-grammarFromParse is enabled,
-                this feature is set to true automatically. Any setting to this feature by the users is a no-op.</td></tr>
+                this feature is set to true automatically and any setting to this feature by the user is a no-op.</td></tr>
                 <tr><th><em>see:</em></th><td>
                 <link anchor="cache-grammar">http://apache.org/xml/features/validation/cache-grammarFromParse</link>
                 </td></tr>
diff --git a/doc/program.xml b/doc/program.xml
index 920726338..921172215 100644
--- a/doc/program.xml
+++ b/doc/program.xml
@@ -24,11 +24,12 @@
       before using the API, and terminate it after you are done. This
       is achieved by the following code:</p>
 <source>
+#include &lt;xercesc/util/PlatformUtils.hpp&gt;
+// Other include files, declarations, and non-&XercesCName; initializations.
+XERCES_CPP_NAMESPACE_USE 
+  
 int main(int argc, char* argv[])
 {
-  #include &lt;xercesc/util/PlatformUtils.hpp&gt;
-  // Other include files, declarations, and non-&XercesCName; initializations.
-
   try {
     XMLPlatformUtils::Initialize();
   }
-- 
GitLab