diff --git a/doc/program-dom.xml b/doc/program-dom.xml index a6f2f67779ff9f83c8a3f7da275d4252fcbffaf5..4784253c25def5929a1b6b665d80d0ed28e2b9c0 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 d9c92410ee3042be75c5a6fe8fc0a88f58cb282d..883792dd1135770adf0df8dd63968615e5eede22 100644 --- a/doc/program-sax.xml +++ b/doc/program-sax.xml @@ -313,8 +313,8 @@ void MySAXHandler::fatalError(const SAXParseException& 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 25e0f6663a7d4342f274c733950e040b40a55663..c36e5b2bca05b6c6438572fb14d2e0fc3cfe2016 100644 --- a/doc/program-sax2.xml +++ b/doc/program-sax2.xml @@ -340,7 +340,7 @@ void MySAX2Handler::fatalError(const SAXParseException& 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 9207263380a4a42d7a7d51e84418a670a71a1543..9211722155a4e5dcda35e118ac19472322aca9f5 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 <xercesc/util/PlatformUtils.hpp> +// Other include files, declarations, and non-&XercesCName; initializations. +XERCES_CPP_NAMESPACE_USE + int main(int argc, char* argv[]) { - #include <xercesc/util/PlatformUtils.hpp> - // Other include files, declarations, and non-&XercesCName; initializations. - try { XMLPlatformUtils::Initialize(); }