From e4a1393a43135bb438d2339945d986c56bc0df47 Mon Sep 17 00:00:00 2001 From: Jason Edward Stewart <jasons@apache.org> Date: Fri, 13 Oct 2006 20:44:43 +0000 Subject: [PATCH] minor documentation typos and grammar fixes git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@463817 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/dom/impl/DOMLSSerializerImpl.cpp | 2 +- src/xercesc/framework/Wrapper4DOMLSInput.hpp | 4 ++-- src/xercesc/framework/Wrapper4InputSource.hpp | 4 ++-- src/xercesc/framework/XMLValidator.hpp | 2 +- src/xercesc/validators/common/Grammar.hpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/xercesc/dom/impl/DOMLSSerializerImpl.cpp b/src/xercesc/dom/impl/DOMLSSerializerImpl.cpp index 0ef0f3671..8e17c728d 100644 --- a/src/xercesc/dom/impl/DOMLSSerializerImpl.cpp +++ b/src/xercesc/dom/impl/DOMLSSerializerImpl.cpp @@ -518,7 +518,7 @@ bool DOMLSSerializerImpl::write(const DOMNode* nodeToWrite, // The serialize engine (processNode) throws an exception to abort // serialization if // - // . A fatal error occurs which renters the output ill-formed, or + // . A fatal error occurs which renders the output ill-formed, or // . Instructed by the application's error handler // catch (const TranscodingException&) diff --git a/src/xercesc/framework/Wrapper4DOMLSInput.hpp b/src/xercesc/framework/Wrapper4DOMLSInput.hpp index b2dfbd734..c8692e993 100644 --- a/src/xercesc/framework/Wrapper4DOMLSInput.hpp +++ b/src/xercesc/framework/Wrapper4DOMLSInput.hpp @@ -30,7 +30,7 @@ class DOMLSInput; class DOMLSResourceResolver; /** - * Wrap a DOMLSInput object to a SAX InputSource. + * Wrap a DOMLSInput object and make it behave like a SAX InputSource. */ class XMLPARSER_EXPORT Wrapper4DOMLSInput: public InputSource { @@ -41,7 +41,7 @@ public: /** * Constructor * - * Wrap a DOMLSInput and pretend it to be a SAX InputSource. + * Wrap a DOMLSInput and make it behave like a SAX InputSource. * By default, the wrapper will adopt the DOMLSInput that is wrapped. * * @param inputSource The DOMLSInput to be wrapped diff --git a/src/xercesc/framework/Wrapper4InputSource.hpp b/src/xercesc/framework/Wrapper4InputSource.hpp index 407933038..16be08d89 100644 --- a/src/xercesc/framework/Wrapper4InputSource.hpp +++ b/src/xercesc/framework/Wrapper4InputSource.hpp @@ -31,7 +31,7 @@ class InputSource; /** - * Wrap a SAX InputSource object to a DOMLSInput. + * Wrap a SAX InputSource object and make it behave like DOMLSInput. */ class XMLPARSER_EXPORT Wrapper4InputSource: public DOMLSInput { @@ -42,7 +42,7 @@ public: /** * Constructor * - * Wrap a SAX InputSource and pretend it to be a DOMLSInput. + * Wrap a SAX InputSource and make it behave like a DOMLSInput. * By default, the wrapper will adopt the SAX InputSource that is wrapped. * * @param inputSource The SAX InputSource to be wrapped diff --git a/src/xercesc/framework/XMLValidator.hpp b/src/xercesc/framework/XMLValidator.hpp index 911a02a66..e4f95e62d 100644 --- a/src/xercesc/framework/XMLValidator.hpp +++ b/src/xercesc/framework/XMLValidator.hpp @@ -104,7 +104,7 @@ public: /** * The derived class should fault in the passed XMLAttr value. It should - * use the passeed attribute definition (which is passed via the base + * use the passed attribute definition (which is passed via the base * type so it must often be downcast to the appropriate type for the * derived validator class), to fill in the passed attribute. This is done * as a performance enhancement since the derived class has more direct diff --git a/src/xercesc/validators/common/Grammar.hpp b/src/xercesc/validators/common/Grammar.hpp index 0da019078..23779e4d7 100644 --- a/src/xercesc/validators/common/Grammar.hpp +++ b/src/xercesc/validators/common/Grammar.hpp @@ -51,7 +51,7 @@ public: // // TOP_LEVEL_SCOPE - outermost scope level (i.e. global) of a declaration. // For DTD, all element decls and attribute decls always - // have TOP_LEVEL_SCOPE. For schema, it may varies if + // have TOP_LEVEL_SCOPE. For schema, it may vary if // it is inside a complex type. // // UNKNOWN_SCOPE - unknown scope level. None of the decls should have this. -- GitLab