From a1a07c6b0479daa4805ba04ca871e459a56426b3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov <borisk@apache.org> Date: Sun, 11 Apr 2010 13:10:10 +0000 Subject: [PATCH] Spelling fixes (XERCESC-1911). git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@932889 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/NLS/EN_US/XMLErrList_EN_US.Xml | 2 +- src/xercesc/dom/DOMConfiguration.hpp | 4 +- src/xercesc/dom/DOMDocument.hpp | 2 +- src/xercesc/dom/DOMDocumentFragment.hpp | 2 +- src/xercesc/dom/DOMErrorHandler.hpp | 2 +- src/xercesc/dom/DOMException.hpp | 2 +- src/xercesc/dom/DOMImplementation.hpp | 2 +- src/xercesc/dom/DOMImplementationLS.hpp | 2 +- src/xercesc/dom/DOMNode.hpp | 2 +- src/xercesc/dom/DOMNodeFilter.hpp | 2 +- src/xercesc/dom/DOMPSVITypeInfo.hpp | 2 +- src/xercesc/dom/DOMRange.hpp | 2 +- src/xercesc/dom/DOMRangeException.hpp | 2 +- src/xercesc/dom/DOMXPathNamespace.hpp | 2 +- src/xercesc/dom/DOMXPathResult.hpp | 2 +- src/xercesc/dom/impl/DOMTypeInfoImpl.cpp | 8 +-- .../framework/LocalFileFormatTarget.cpp | 4 +- .../framework/LocalFileFormatTarget.hpp | 2 +- src/xercesc/framework/MemBufFormatTarget.cpp | 4 +- src/xercesc/framework/MemBufFormatTarget.hpp | 4 +- src/xercesc/framework/MemBufInputSource.hpp | 2 +- src/xercesc/framework/URLInputSource.hpp | 4 +- src/xercesc/framework/Wrapper4InputSource.hpp | 2 +- src/xercesc/framework/XMLAttDef.hpp | 8 +-- src/xercesc/framework/XMLAttDefList.hpp | 2 +- src/xercesc/framework/XMLAttr.hpp | 2 +- src/xercesc/framework/XMLBuffer.cpp | 2 +- src/xercesc/framework/XMLBuffer.hpp | 12 ++-- src/xercesc/framework/XMLElementDecl.hpp | 8 +-- src/xercesc/framework/XMLEntityDecl.hpp | 6 +- src/xercesc/framework/XMLFormatter.hpp | 4 +- src/xercesc/framework/XMLRefInfo.hpp | 2 +- src/xercesc/framework/XMLValidator.hpp | 4 +- .../framework/psvi/PSVIAttributeList.hpp | 6 +- src/xercesc/framework/psvi/PSVIItem.hpp | 2 +- .../psvi/XSComplexTypeDefinition.hpp | 2 +- src/xercesc/framework/psvi/XSValue.cpp | 2 +- src/xercesc/framework/psvi/XSValue.hpp | 2 +- src/xercesc/internal/BinMemOutputStream.cpp | 4 +- src/xercesc/internal/BinMemOutputStream.hpp | 2 +- src/xercesc/parsers/AbstractDOMParser.cpp | 4 +- src/xercesc/parsers/AbstractDOMParser.hpp | 22 +++---- src/xercesc/parsers/SAX2XMLFilterImpl.hpp | 24 ++++---- src/xercesc/parsers/SAX2XMLReaderImpl.hpp | 22 +++---- src/xercesc/parsers/SAXParser.hpp | 34 +++++------ src/xercesc/parsers/XercesDOMParser.hpp | 14 ++--- src/xercesc/sax/AttributeList.hpp | 2 +- src/xercesc/sax/DTDHandler.hpp | 2 +- src/xercesc/sax/DocumentHandler.hpp | 4 +- src/xercesc/sax/ErrorHandler.hpp | 4 +- src/xercesc/sax/HandlerBase.hpp | 4 +- src/xercesc/sax/InputSource.hpp | 2 +- src/xercesc/sax/SAXParseException.hpp | 4 +- src/xercesc/sax2/Attributes.hpp | 2 +- src/xercesc/sax2/ContentHandler.hpp | 2 +- src/xercesc/sax2/DeclHandler.hpp | 2 +- src/xercesc/sax2/DefaultHandler.hpp | 10 ++-- src/xercesc/sax2/LexicalHandler.hpp | 2 +- src/xercesc/sax2/SAX2XMLReader.hpp | 16 ++--- src/xercesc/sax2/XMLReaderFactory.hpp | 2 +- src/xercesc/util/Base64.hpp | 4 +- src/xercesc/util/HexBin.hpp | 6 +- src/xercesc/util/LogicalPath.c | 8 +-- .../util/MsgLoaders/ICU/ICUMsgLoader.hpp | 2 +- src/xercesc/util/Mutexes.hpp | 2 +- src/xercesc/util/NameIdPool.hpp | 4 +- .../NetAccessors/BinHTTPInputStreamCommon.hpp | 8 +-- src/xercesc/util/PlatformUtils.hpp | 22 +++---- src/xercesc/util/QName.hpp | 6 +- src/xercesc/util/RefArrayOf.c | 4 +- src/xercesc/util/RefArrayOf.hpp | 2 +- src/xercesc/util/StringPool.hpp | 4 +- src/xercesc/util/TransENameMap.hpp | 2 +- src/xercesc/util/TransService.hpp | 2 +- .../util/Transcoders/ICU/ICUTransService.hpp | 2 +- .../IconvGNU/IconvGNUTransService.hpp | 8 +-- .../MacOSUnicodeConverter.hpp | 2 +- src/xercesc/util/ValueArrayOf.c | 4 +- src/xercesc/util/ValueArrayOf.hpp | 2 +- src/xercesc/util/XML88591Transcoder.hpp | 2 +- src/xercesc/util/XMLASCIITranscoder.hpp | 2 +- src/xercesc/util/XMLBigDecimal.hpp | 4 +- src/xercesc/util/XMLBigInteger.hpp | 4 +- src/xercesc/util/XMLChar.hpp | 2 +- src/xercesc/util/XMLDateTime.cpp | 16 ++--- src/xercesc/util/XMLDateTime.hpp | 6 +- src/xercesc/util/XMLEBCDICTranscoder.hpp | 2 +- src/xercesc/util/XMLExceptMsgs.hpp | 2 +- src/xercesc/util/XMLIBM1047Transcoder.hpp | 2 +- src/xercesc/util/XMLIBM1140Transcoder.hpp | 4 +- src/xercesc/util/XMLMsgLoader.hpp | 4 +- src/xercesc/util/XMLString.hpp | 28 ++++----- src/xercesc/util/XMLStringTokenizer.hpp | 2 +- src/xercesc/util/XMLUCS4Transcoder.hpp | 4 +- src/xercesc/util/XMLUTF16Transcoder.hpp | 2 +- src/xercesc/util/XMLUTF8Transcoder.cpp | 2 +- src/xercesc/util/XMLUTF8Transcoder.hpp | 2 +- src/xercesc/util/XMemory.hpp | 2 +- src/xercesc/util/XercesDefs.hpp | 2 +- src/xercesc/util/XercesVersion.hpp | 2 +- src/xercesc/util/regx/BMPattern.hpp | 2 +- src/xercesc/util/regx/Op.hpp | 2 +- src/xercesc/validators/DTD/DTDAttDefList.hpp | 2 +- src/xercesc/validators/DTD/DTDElementDecl.hpp | 2 +- .../validators/common/ContentSpecNode.hpp | 2 +- .../validators/common/GrammarResolver.hpp | 2 +- .../validators/datatype/DatatypeValidator.hpp | 4 +- .../datatype/DatatypeValidatorFactory.cpp | 26 ++++----- .../datatype/DatatypeValidatorFactory.hpp | 4 +- .../datatype/DecimalDatatypeValidator.cpp | 58 +++++++++---------- .../datatype/ListDatatypeValidator.hpp | 2 +- .../validators/datatype/XMLCanRepGroup.hpp | 6 +- .../validators/schema/ComplexTypeInfo.hpp | 2 +- src/xercesc/validators/schema/PSVIDefs.hpp | 2 +- .../validators/schema/SchemaElementDecl.hpp | 2 +- .../validators/schema/SchemaValidator.hpp | 2 +- .../schema/SubstitutionGroupComparator.hpp | 4 +- .../validators/schema/TraverseSchema.hpp | 2 +- .../validators/schema/XSDDOMParser.hpp | 2 +- .../validators/schema/XercesAttGroupInfo.hpp | 2 +- .../validators/schema/XercesGroupInfo.hpp | 2 +- .../validators/schema/identity/IC_Field.hpp | 4 +- .../validators/schema/identity/IC_Key.hpp | 2 +- .../validators/schema/identity/IC_KeyRef.hpp | 2 +- .../schema/identity/IC_Selector.hpp | 4 +- .../validators/schema/identity/IC_Unique.hpp | 2 +- .../schema/identity/IdentityConstraint.hpp | 2 +- .../identity/IdentityConstraintHandler.hpp | 2 +- .../validators/schema/identity/ValueStore.hpp | 2 +- .../schema/identity/ValueStoreCache.hpp | 6 +- .../schema/identity/XPathMatcherStack.hpp | 2 +- .../schema/identity/XercesXPath.hpp | 8 +-- 132 files changed, 334 insertions(+), 334 deletions(-) diff --git a/src/xercesc/NLS/EN_US/XMLErrList_EN_US.Xml b/src/xercesc/NLS/EN_US/XMLErrList_EN_US.Xml index 73714c9fe..271f0086d 100644 --- a/src/xercesc/NLS/EN_US/XMLErrList_EN_US.Xml +++ b/src/xercesc/NLS/EN_US/XMLErrList_EN_US.Xml @@ -519,7 +519,7 @@ <Message Id="UTF8_Invalid_3BytesSeq" Text="invalid bytes '{0}' and '{1}' of a 3-byte sequence"/> <Message Id="UTF8_Irregular_3BytesSeq" Text="irregular bytes '{0}' and '{1}' of a 3-byte sequence"/> <Message Id="UTF8_Invalid_4BytesSeq" Text="invalid bytes '{0}' and '{1}' of a 4-byte sequence"/> - <Message Id="UTF8_Exceede_BytesLimit" Text="exceeded byte limit at byte '{0}' in a {1}-byte sequence"/> + <Message Id="UTF8_Exceeds_BytesLimit" Text="exceeded byte limit at byte '{0}' in a {1}-byte sequence"/> <Message Id="Vector_BadIndex" Text="index is beyond vector bounds"/> <Message Id="Val_InvalidElemId" Text="invalid element id"/> <Message Id="Val_CantHaveIntSS" Text="internal subset is not allowed when reusing the grammar"/> diff --git a/src/xercesc/dom/DOMConfiguration.hpp b/src/xercesc/dom/DOMConfiguration.hpp index 135d20507..bbd88092e 100644 --- a/src/xercesc/dom/DOMConfiguration.hpp +++ b/src/xercesc/dom/DOMConfiguration.hpp @@ -43,7 +43,7 @@ XERCES_CPP_NAMESPACE_BEGIN * boolean (boolean parameters) and DOMUserData * (parameters). The names used by the DOMConfiguration object are * defined throughout the DOM Level 3 specifications. Names are - * case-insensitives. To avoid possible conflicts, as a + * case-insensitive. To avoid possible conflicts, as a * convention, names referring to boolean parameters and * parameters defined outside the DOM specification should be made * unique. Names are recommended to follow the XML name @@ -219,7 +219,7 @@ XERCES_CPP_NAMESPACE_BEGIN * This forces the following features to true: * whitespace-in-element-content, comments, * namespaces. - * Other features are not changed unless explicity + * Other features are not changed unless explicitly * specified in the description of the features. * Note that querying this feature with getFeature * returns true only if the individual features diff --git a/src/xercesc/dom/DOMDocument.hpp b/src/xercesc/dom/DOMDocument.hpp index e8102e85b..ae8e65c44 100644 --- a/src/xercesc/dom/DOMDocument.hpp +++ b/src/xercesc/dom/DOMDocument.hpp @@ -731,7 +731,7 @@ public: * updates the replacement tree of <code>DOMEntityReference</code> nodes, * normalizes attribute values, etc. * <br>Mutation events, when supported, are generated to reflect the - * changes occuring on the document. + * changes occurring on the document. * Note that this is a partial implementation. Not all the required features are implemented. * Currently <code>DOMAttr</code> and <code>DOMText</code> nodes are normalized. * Features to remove <code>DOMComment</code> and <code>DOMCDATASection</code> work. diff --git a/src/xercesc/dom/DOMDocumentFragment.hpp b/src/xercesc/dom/DOMDocumentFragment.hpp index 12a51a42d..8c5504241 100644 --- a/src/xercesc/dom/DOMDocumentFragment.hpp +++ b/src/xercesc/dom/DOMDocumentFragment.hpp @@ -38,7 +38,7 @@ XERCES_CPP_NAMESPACE_BEGIN * document by moving fragments around. It is desirable to have an object * which can hold such fragments and it is quite natural to use a DOMNode for * this purpose. While it is true that a <code>DOMDocument</code> object could - * fulfil this role, a <code>DOMDocument</code> object can potentially be a + * fulfill this role, a <code>DOMDocument</code> object can potentially be a * heavyweight object, depending on the underlying implementation. What is * really needed for this is a very lightweight object. * <code>DOMDocumentFragment</code> is such an object. diff --git a/src/xercesc/dom/DOMErrorHandler.hpp b/src/xercesc/dom/DOMErrorHandler.hpp index b2c8101bc..70e061ebd 100644 --- a/src/xercesc/dom/DOMErrorHandler.hpp +++ b/src/xercesc/dom/DOMErrorHandler.hpp @@ -83,7 +83,7 @@ public: /** @name Functions introduced in DOM Level 3 */ //@{ /** - * This method is called on the error handler when an error occures. + * This method is called on the error handler when an error occurs. * If an exception is thrown from this method, it is considered to be equivalent of returning <code>true</code>. * * @param domError The error object that describes the error, this object diff --git a/src/xercesc/dom/DOMException.hpp b/src/xercesc/dom/DOMException.hpp index 514cdb95a..29dc15275 100644 --- a/src/xercesc/dom/DOMException.hpp +++ b/src/xercesc/dom/DOMException.hpp @@ -54,7 +54,7 @@ public: // ----------------------------------------------------------------------- // Class Types // ----------------------------------------------------------------------- - /** @name Public Contants */ + /** @name Public Constants */ //@{ /** * ExceptionCode diff --git a/src/xercesc/dom/DOMImplementation.hpp b/src/xercesc/dom/DOMImplementation.hpp index 638475fc0..e03ee6932 100644 --- a/src/xercesc/dom/DOMImplementation.hpp +++ b/src/xercesc/dom/DOMImplementation.hpp @@ -57,7 +57,7 @@ private: // ----------------------------------------------------------------------- /** @name Unimplemented constructors and operators */ //@{ - DOMImplementation(const DOMImplementation &); // no copy construtor. + DOMImplementation(const DOMImplementation &); // no copy constructor. DOMImplementation & operator = (const DOMImplementation &); // No Assignment //@} diff --git a/src/xercesc/dom/DOMImplementationLS.hpp b/src/xercesc/dom/DOMImplementationLS.hpp index 56741c5c6..9687c667b 100644 --- a/src/xercesc/dom/DOMImplementationLS.hpp +++ b/src/xercesc/dom/DOMImplementationLS.hpp @@ -128,7 +128,7 @@ public: * Other Schema languages are outside the scope of the W3C and therefore should * recommend an absolute URI in order to use this method. * @param manager Pointer to the memory manager to be used to allocate objects. - * @param gramPool The collection of cached grammers. + * @param gramPool The collection of cached grammars. * @return The newly created <code>DOMLSParser</code> object. This * <code>DOMLSParser</code> is either synchronous or asynchronous depending * on the value of the <code>mode</code> argument. diff --git a/src/xercesc/dom/DOMNode.hpp b/src/xercesc/dom/DOMNode.hpp index a11cf3b80..447a948e3 100644 --- a/src/xercesc/dom/DOMNode.hpp +++ b/src/xercesc/dom/DOMNode.hpp @@ -172,7 +172,7 @@ public: // ----------------------------------------------------------------------- // Class Types // ----------------------------------------------------------------------- - /** @name Public Contants */ + /** @name Public Constants */ //@{ /** * NodeType diff --git a/src/xercesc/dom/DOMNodeFilter.hpp b/src/xercesc/dom/DOMNodeFilter.hpp index 58b3820a8..0373affef 100644 --- a/src/xercesc/dom/DOMNodeFilter.hpp +++ b/src/xercesc/dom/DOMNodeFilter.hpp @@ -83,7 +83,7 @@ public: // ----------------------------------------------------------------------- // Class Types // ----------------------------------------------------------------------- - /** @name Public Contants */ + /** @name Public Constants */ //@{ /** * Constants returned by acceptNode. diff --git a/src/xercesc/dom/DOMPSVITypeInfo.hpp b/src/xercesc/dom/DOMPSVITypeInfo.hpp index 2347dd172..8ccd1fbe8 100644 --- a/src/xercesc/dom/DOMPSVITypeInfo.hpp +++ b/src/xercesc/dom/DOMPSVITypeInfo.hpp @@ -57,7 +57,7 @@ public: enum PSVIProperty { PSVI_Validity - , PSVI_Validitation_Attempted + , PSVI_Validation_Attempted , PSVI_Type_Definition_Type , PSVI_Type_Definition_Name , PSVI_Type_Definition_Namespace diff --git a/src/xercesc/dom/DOMRange.hpp b/src/xercesc/dom/DOMRange.hpp index 1e091cedd..3aec0de93 100644 --- a/src/xercesc/dom/DOMRange.hpp +++ b/src/xercesc/dom/DOMRange.hpp @@ -69,7 +69,7 @@ public: // ----------------------------------------------------------------------- // Class Types // ----------------------------------------------------------------------- - /** @name Public Contants */ + /** @name Public Constants */ //@{ /** * Constants CompareHow. diff --git a/src/xercesc/dom/DOMRangeException.hpp b/src/xercesc/dom/DOMRangeException.hpp index 427e81f59..34eb34241 100644 --- a/src/xercesc/dom/DOMRangeException.hpp +++ b/src/xercesc/dom/DOMRangeException.hpp @@ -38,7 +38,7 @@ public: // ----------------------------------------------------------------------- // Class Types // ----------------------------------------------------------------------- - /** @name Public Contants */ + /** @name Public Constants */ //@{ /** * Enumerators for DOM Range Exceptions diff --git a/src/xercesc/dom/DOMXPathNamespace.hpp b/src/xercesc/dom/DOMXPathNamespace.hpp index 3bfc4046f..81f634f4f 100644 --- a/src/xercesc/dom/DOMXPathNamespace.hpp +++ b/src/xercesc/dom/DOMXPathNamespace.hpp @@ -48,7 +48,7 @@ class DOMElement; * nodeValue is the same as namespaceURI. * adoptNode, cloneNode, and importNode fail on this node type by raising a DOMException with the code NOT_SUPPORTED_ERR. * Note: In future versions of the XPath specification, the definition of a namespace node may - * be changed incomatibly, in which case incompatible changes to field values may be required to + * be changed incompatibly, in which case incompatible changes to field values may be required to * implement versions beyond XPath 1.0. * @since DOM Level 3 */ diff --git a/src/xercesc/dom/DOMXPathResult.hpp b/src/xercesc/dom/DOMXPathResult.hpp index 520927c98..bc584b622 100644 --- a/src/xercesc/dom/DOMXPathResult.hpp +++ b/src/xercesc/dom/DOMXPathResult.hpp @@ -81,7 +81,7 @@ public: // ----------------------------------------------------------------------- // Class Types // ----------------------------------------------------------------------- - /** @name Public Contants */ + /** @name Public Constants */ //@{ /** * <p>ANY_TYPE diff --git a/src/xercesc/dom/impl/DOMTypeInfoImpl.cpp b/src/xercesc/dom/impl/DOMTypeInfoImpl.cpp index 7296ba826..90786b12b 100644 --- a/src/xercesc/dom/impl/DOMTypeInfoImpl.cpp +++ b/src/xercesc/dom/impl/DOMTypeInfoImpl.cpp @@ -61,8 +61,8 @@ DOMTypeInfoImpl::DOMTypeInfoImpl(DOMDocumentImpl* ownerDoc, const DOMPSVITypeInf { setNumericProperty(DOMPSVITypeInfo::PSVI_Validity, sourcePSVI->getNumericProperty(DOMPSVITypeInfo::PSVI_Validity)); - setNumericProperty(DOMPSVITypeInfo::PSVI_Validitation_Attempted, - sourcePSVI->getNumericProperty(DOMPSVITypeInfo::PSVI_Validitation_Attempted)); + setNumericProperty(DOMPSVITypeInfo::PSVI_Validation_Attempted, + sourcePSVI->getNumericProperty(DOMPSVITypeInfo::PSVI_Validation_Attempted)); setNumericProperty(DOMPSVITypeInfo::PSVI_Type_Definition_Type, sourcePSVI->getNumericProperty(DOMPSVITypeInfo::PSVI_Type_Definition_Type)); setNumericProperty(DOMPSVITypeInfo::PSVI_Type_Definition_Anonymous, @@ -141,7 +141,7 @@ int DOMTypeInfoImpl::getNumericProperty(PSVIProperty prop) const { switch(prop) { case PSVI_Validity: return (PSVIItem::VALIDITY_STATE)(fBitFields & 0x0003); - case PSVI_Validitation_Attempted: return (PSVIItem::ASSESSMENT_TYPE)((fBitFields >> 2) & 0x0003); + case PSVI_Validation_Attempted: return (PSVIItem::ASSESSMENT_TYPE)((fBitFields >> 2) & 0x0003); case PSVI_Type_Definition_Type: return (fBitFields & (1 << 5))?XSTypeDefinition::COMPLEX_TYPE:XSTypeDefinition::SIMPLE_TYPE; case PSVI_Type_Definition_Anonymous: return (fBitFields & (1 << 6))?true:false; case PSVI_Nil: return (fBitFields & (1 << 7))?true:false; @@ -169,7 +169,7 @@ void DOMTypeInfoImpl::setNumericProperty(PSVIProperty prop, int value) { switch(prop) { case PSVI_Validity: fBitFields |= (value & 0x0003); break; - case PSVI_Validitation_Attempted: fBitFields |= ((value & 0x0003) << 2); break; + case PSVI_Validation_Attempted: fBitFields |= ((value & 0x0003) << 2); break; case PSVI_Type_Definition_Type: fBitFields |= (value==XSTypeDefinition::COMPLEX_TYPE)?(1 << 5):0; break; case PSVI_Type_Definition_Anonymous: fBitFields |= (value!=0)?(1 << 6):0; break; case PSVI_Nil: fBitFields |= (value!=0)?(1 << 7):0; break; diff --git a/src/xercesc/framework/LocalFileFormatTarget.cpp b/src/xercesc/framework/LocalFileFormatTarget.cpp index 30f54c725..7744f766f 100644 --- a/src/xercesc/framework/LocalFileFormatTarget.cpp +++ b/src/xercesc/framework/LocalFileFormatTarget.cpp @@ -99,7 +99,7 @@ void LocalFileFormatTarget::writeChars(const XMLByte* const toWrite // If we don't have enough space, see if we can grow the buffer. // if (fIndex + count > fCapacity && fCapacity < MAX_BUFFER_SIZE) - insureCapacity (count); + ensureCapacity (count); // If still not enough space, flush the buffer. // @@ -127,7 +127,7 @@ void LocalFileFormatTarget::writeChars(const XMLByte* const toWrite return; } -void LocalFileFormatTarget::insureCapacity(const XMLSize_t extraNeeded) +void LocalFileFormatTarget::ensureCapacity(const XMLSize_t extraNeeded) { XMLSize_t newCap = fCapacity * 2; diff --git a/src/xercesc/framework/LocalFileFormatTarget.hpp b/src/xercesc/framework/LocalFileFormatTarget.hpp index 53095b0c3..9cae3d9bf 100644 --- a/src/xercesc/framework/LocalFileFormatTarget.hpp +++ b/src/xercesc/framework/LocalFileFormatTarget.hpp @@ -65,7 +65,7 @@ private: // ----------------------------------------------------------------------- // Private helpers // ----------------------------------------------------------------------- - void insureCapacity(const XMLSize_t extraNeeded); + void ensureCapacity(const XMLSize_t extraNeeded); // ----------------------------------------------------------------------- // Private data members diff --git a/src/xercesc/framework/MemBufFormatTarget.cpp b/src/xercesc/framework/MemBufFormatTarget.cpp index 74a8245ab..0cc591918 100644 --- a/src/xercesc/framework/MemBufFormatTarget.cpp +++ b/src/xercesc/framework/MemBufFormatTarget.cpp @@ -55,7 +55,7 @@ void MemBufFormatTarget::writeChars(const XMLByte* const toWrite if (count) { if (fIndex + count >= fCapacity) - insureCapacity(count); + ensureCapacity(count); memcpy(&fDataBuf[fIndex], toWrite, count * sizeof(XMLByte)); fIndex += count; @@ -84,7 +84,7 @@ void MemBufFormatTarget::reset() // --------------------------------------------------------------------------- // MemBufFormatTarget: Private helper methods // --------------------------------------------------------------------------- -void MemBufFormatTarget::insureCapacity(const XMLSize_t extraNeeded) +void MemBufFormatTarget::ensureCapacity(const XMLSize_t extraNeeded) { // Oops, not enough room. Calc new capacity and allocate new buffer const XMLSize_t newCap = ((fIndex + extraNeeded) * 2); diff --git a/src/xercesc/framework/MemBufFormatTarget.hpp b/src/xercesc/framework/MemBufFormatTarget.hpp index 08806ef5a..e6ac33f84 100644 --- a/src/xercesc/framework/MemBufFormatTarget.hpp +++ b/src/xercesc/framework/MemBufFormatTarget.hpp @@ -31,7 +31,7 @@ XERCES_CPP_NAMESPACE_BEGIN * may plug into DOMLSSerializer to retrieve the serialized XML stream (from DOM Tree) * in a memory buffer. * - * The MemBufFormatTarget is initalized to have a memory buffer of 1023 upon + * The MemBufFormatTarget is initialized to have a memory buffer of 1023 upon * construction, which grows as needed. The buffer will be deleted when * MemBufFormatTarget is destructed; or will be reset when the reset() function * is called. @@ -105,7 +105,7 @@ private: // ----------------------------------------------------------------------- // Private helpers // ----------------------------------------------------------------------- - void insureCapacity(const XMLSize_t extraNeeded); + void ensureCapacity(const XMLSize_t extraNeeded); // ----------------------------------------------------------------------- // Private data members diff --git a/src/xercesc/framework/MemBufInputSource.hpp b/src/xercesc/framework/MemBufInputSource.hpp index e6413c10f..9bc7b5ad6 100644 --- a/src/xercesc/framework/MemBufInputSource.hpp +++ b/src/xercesc/framework/MemBufInputSource.hpp @@ -76,7 +76,7 @@ public : * * Note that the system id provided serves two purposes. Firstly it is * going to be displayed in error messages as the source of the error. - * And secondly, any entities which are refered to from this entity + * And secondly, any entities which are referred to from this entity * via relative paths/URLs will be relative to this fake system id. * * @param srcDocBytes The actual data buffer to be parsed from. diff --git a/src/xercesc/framework/URLInputSource.hpp b/src/xercesc/framework/URLInputSource.hpp index 479031ad1..0cdcfe2c4 100644 --- a/src/xercesc/framework/URLInputSource.hpp +++ b/src/xercesc/framework/URLInputSource.hpp @@ -94,7 +94,7 @@ public : ); /** - * This constructor is indentical to the previous one, except that it also + * This constructor is identical to the previous one, except that it also * allows you to set a public id if you want to. * * @param baseId The base system id URL which provides the base @@ -182,7 +182,7 @@ public : /** * This method will return a binary input stream derivative that will - * parse from the source refered to by the URL system id. + * parse from the source referred to by the URL system id. */ BinInputStream* makeStream() const; diff --git a/src/xercesc/framework/Wrapper4InputSource.hpp b/src/xercesc/framework/Wrapper4InputSource.hpp index 2aaf07bfb..9c8869914 100644 --- a/src/xercesc/framework/Wrapper4InputSource.hpp +++ b/src/xercesc/framework/Wrapper4InputSource.hpp @@ -87,7 +87,7 @@ public: //@{ /** * An input source can be set to force the parser to assume a particular - * encoding for the data that input source reprsents, via the setEncoding() + * encoding for the data that input source represents, via the setEncoding() * method. This method will delegate to the wrapped input source to return * name of the encoding that is to be forced. If the encoding has never * been forced, it returns a null pointer. diff --git a/src/xercesc/framework/XMLAttDef.hpp b/src/xercesc/framework/XMLAttDef.hpp index 76934065f..f5e479d8f 100644 --- a/src/xercesc/framework/XMLAttDef.hpp +++ b/src/xercesc/framework/XMLAttDef.hpp @@ -31,7 +31,7 @@ XERCES_CPP_NAMESPACE_BEGIN class XMLAttr; -/** Represents the core information of an atribute definition +/** Represents the core information of an attribute definition * * This class defines the basic characteristics of an attribute, no matter * what type of validator is used. If a particular schema associates more @@ -130,7 +130,7 @@ public: /** Get a string representation of the passed attribute type enum * - * This method allows you to get a textual representation of an attriubte + * This method allows you to get a textual representation of an attribute * type, mostly for debug or display. * * @param attrType The attribute type value to get the string for. @@ -216,7 +216,7 @@ public: /** Get the enumeration value (if any) of this attribute type * - * If the attribute is of an enumeration or notatin type, then this + * If the attribute is of an enumeration or notation type, then this * method will return a const reference to a string that contains the * space separated values that can the attribute can have. * @@ -238,7 +238,7 @@ public: /** Get the type of this attribute * * Gets the type of this attribute. This type is represented by an enum - * that convers the types of attributes allowed by XML, e.g. CDATA, NMTOKEN, + * that converts the types of attributes allowed by XML, e.g. CDATA, NMTOKEN, * NOTATION, etc... * * @return The attribute type enumeration value for this type of diff --git a/src/xercesc/framework/XMLAttDefList.hpp b/src/xercesc/framework/XMLAttDefList.hpp index 32cd54ee3..f0353a937 100644 --- a/src/xercesc/framework/XMLAttDefList.hpp +++ b/src/xercesc/framework/XMLAttDefList.hpp @@ -117,7 +117,7 @@ public: /** Get the memory manager * * This method returns the configurable memory manager used by the - * element declaration for dynamic allocation/deacllocation. + * element declaration for dynamic allocation/deallocation. * * @return the memory manager */ diff --git a/src/xercesc/framework/XMLAttr.hpp b/src/xercesc/framework/XMLAttr.hpp index 5406a3034..27a1ecb8e 100644 --- a/src/xercesc/framework/XMLAttr.hpp +++ b/src/xercesc/framework/XMLAttr.hpp @@ -169,7 +169,7 @@ public: //@{ /** - * This methode returns the attribute name in a QName format. + * This method returns the attribute name in a QName format. */ QName* getAttName() const; diff --git a/src/xercesc/framework/XMLBuffer.cpp b/src/xercesc/framework/XMLBuffer.cpp index 4fa699a3a..5ae3a141b 100644 --- a/src/xercesc/framework/XMLBuffer.cpp +++ b/src/xercesc/framework/XMLBuffer.cpp @@ -33,7 +33,7 @@ XERCES_CPP_NAMESPACE_BEGIN // XMLBuffer: Buffer management // --------------------------------------------------------------------------- -void XMLBuffer::insureCapacity(const XMLSize_t extraNeeded) +void XMLBuffer::ensureCapacity(const XMLSize_t extraNeeded) { // If we can't handle it, try doubling the buffer size. XMLSize_t newCap = (fIndex + extraNeeded) * 2; diff --git a/src/xercesc/framework/XMLBuffer.hpp b/src/xercesc/framework/XMLBuffer.hpp index ee854bf17..1062f6d5d 100644 --- a/src/xercesc/framework/XMLBuffer.hpp +++ b/src/xercesc/framework/XMLBuffer.hpp @@ -90,13 +90,13 @@ public : // For example, say fullSize = 100 and fCapacity is 1023 (the default). // If the fIndex is less than the fullSize, then no problem. We can just carry // on by resetting fCapacity to fullsize and proceed business as usual. - // If the fIndex is already bigger than the fullSize then we call insureCapacity + // If the fIndex is already bigger than the fullSize then we call ensureCapacity // to see if it can handle emptying the current buffer (it will throw an // exception if it can't). if (fullSize < fCapacity) { fCapacity = fullSize; if (fIndex >= fullSize) { - insureCapacity(0); + ensureCapacity(0); } } } @@ -113,7 +113,7 @@ public : { // Put in char and bump the index if (fIndex == fCapacity) - insureCapacity(1); + ensureCapacity(1); fBuffer[fIndex++] = toAppend; } @@ -121,7 +121,7 @@ public : { if (count) { if (fIndex + count >= fCapacity) { - insureCapacity(count); + ensureCapacity(count); } memcpy(&fBuffer[fIndex], chars, count * sizeof(XMLCh)); fIndex += count; @@ -139,7 +139,7 @@ public : for (; *(chars+count); count++ ) /*noop*/; if (fIndex + count >= fCapacity) { - insureCapacity(count); + ensureCapacity(count); } memcpy(&fBuffer[fIndex], chars, count * sizeof(XMLCh)); fIndex += count; @@ -217,7 +217,7 @@ private : // ----------------------------------------------------------------------- // Private helpers // ----------------------------------------------------------------------- - void insureCapacity(const XMLSize_t extraNeeded); + void ensureCapacity(const XMLSize_t extraNeeded); // ----------------------------------------------------------------------- diff --git a/src/xercesc/framework/XMLElementDecl.hpp b/src/xercesc/framework/XMLElementDecl.hpp index ab0323ca2..450136236 100644 --- a/src/xercesc/framework/XMLElementDecl.hpp +++ b/src/xercesc/framework/XMLElementDecl.hpp @@ -313,7 +313,7 @@ class XMLPARSER_EXPORT XMLElementDecl : public XSerializable, public XMemory /** Get the memory manager * * This method returns the configurable memory manager used by the - * element declaration for dynamic allocation/deacllocation. + * element declaration for dynamic allocation/deallocation. * * @return the memory manager */ @@ -371,8 +371,8 @@ class XMLPARSER_EXPORT XMLElementDecl : public XSerializable, public XMemory * decl object. As the validator parses its DTD, Schema, etc... it will * encounter various references to an element declaration, which will * cause the element declaration to either be declared or to be faulted - * into the pool in preperation for some future declaration. As it does - * so,it will update this field to indicate the current satus of the + * into the pool in preparation for some future declaration. As it does + * so,it will update this field to indicate the current status of the * decl object. */ void setCreateReason(const CreateReasons newReason); @@ -398,7 +398,7 @@ class XMLPARSER_EXPORT XMLElementDecl : public XSerializable, public XMemory // Miscellaneous methods // ----------------------------------------------------------------------- - /** @name Miscellenous methods */ + /** @name Miscellaneous methods */ //@{ //@} diff --git a/src/xercesc/framework/XMLEntityDecl.hpp b/src/xercesc/framework/XMLEntityDecl.hpp index 317be2377..25c604908 100644 --- a/src/xercesc/framework/XMLEntityDecl.hpp +++ b/src/xercesc/framework/XMLEntityDecl.hpp @@ -58,7 +58,7 @@ public: //@{ /** - * Deafult Constructor + * Default Constructor */ XMLEntityDecl(MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager); @@ -208,7 +208,7 @@ public: /** * Indicates that this entity is an external entity. If not, then it is - * assumed to be an internal entity, suprise. + * assumed to be an internal entity, surprise. */ bool isExternal() const; @@ -351,7 +351,7 @@ private : // This is the unique id given to this entity decl. // // fName - // The name of the enitity. Entity names are never namespace based. + // The name of the entity. Entity names are never namespace based. // // fNotationName // The optional notation of the entity. If there was none, then its diff --git a/src/xercesc/framework/XMLFormatter.hpp b/src/xercesc/framework/XMLFormatter.hpp index d6238d988..af3845ce9 100644 --- a/src/xercesc/framework/XMLFormatter.hpp +++ b/src/xercesc/framework/XMLFormatter.hpp @@ -44,7 +44,7 @@ public: // ----------------------------------------------------------------------- // Class types // ----------------------------------------------------------------------- - /** @name Public Contants */ + /** @name Public Constants */ //@{ /** * EscapeFlags - Different styles of escape flags to control various formatting. @@ -271,7 +271,7 @@ public: inline const XMLTranscoder* getTranscoder() const; /** - * @return return the transcoder used internally for transcoding the formatter conent + * @return return the transcoder used internally for transcoding the formatter content */ inline XMLTranscoder* getTranscoder(); diff --git a/src/xercesc/framework/XMLRefInfo.hpp b/src/xercesc/framework/XMLRefInfo.hpp index 5c98ab2d8..f2c71371d 100644 --- a/src/xercesc/framework/XMLRefInfo.hpp +++ b/src/xercesc/framework/XMLRefInfo.hpp @@ -32,7 +32,7 @@ XERCES_CPP_NAMESPACE_BEGIN /** * This class provides a simple means to track ID Ref usage. Since id/idref - * semamatics are part of XML 1.0, any validator will likely to be able to + * semantics are part of XML 1.0, any validator will likely to be able to * track them. Instances of this class represent a reference and two markers, * one for its being declared and another for its being used. When the * document is done, one can look at each instance and, if used but not diff --git a/src/xercesc/framework/XMLValidator.hpp b/src/xercesc/framework/XMLValidator.hpp index 8de2a240e..959483ce1 100644 --- a/src/xercesc/framework/XMLValidator.hpp +++ b/src/xercesc/framework/XMLValidator.hpp @@ -110,7 +110,7 @@ public: /** * The derived class should fault in the passed XMLAttr value. It should - * use the passed attribute definition (which is passed via the base + * use the passeed 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 @@ -139,7 +139,7 @@ public: /** * This method is called by the scanner before a new document is about - * to start. It gives the validator a change to reset itself in preperation + * to start. It gives the validator a change to reset itself in preparation * for another validation pass. */ virtual void reset() = 0; diff --git a/src/xercesc/framework/psvi/PSVIAttributeList.hpp b/src/xercesc/framework/psvi/PSVIAttributeList.hpp index 77d7d3972..2e0c59e87 100644 --- a/src/xercesc/framework/psvi/PSVIAttributeList.hpp +++ b/src/xercesc/framework/psvi/PSVIAttributeList.hpp @@ -92,7 +92,7 @@ public: /* * Get the PSVI contribution of attribute at position i - * in this list. Indeces start from 0. + * in this list. Indices start from 0. * @param index index from which the attribute PSVI contribution * is to come. * @return PSVIAttribute containing the attributes PSVI contributions; @@ -102,7 +102,7 @@ public: /* * Get local part of attribute name at position index in the list. - * Indeces start from 0. + * Indices start from 0. * @param index index from which the attribute name * is to come. * @return local part of the attribute's name; null is returned if the index @@ -112,7 +112,7 @@ public: /* * Get namespace of attribute at position index in the list. - * Indeces start from 0. + * Indices start from 0. * @param index index from which the attribute namespace * is to come. * @return namespace of the attribute; diff --git a/src/xercesc/framework/psvi/PSVIItem.hpp b/src/xercesc/framework/psvi/PSVIItem.hpp index 5442f37ca..ab8a13512 100644 --- a/src/xercesc/framework/psvi/PSVIItem.hpp +++ b/src/xercesc/framework/psvi/PSVIItem.hpp @@ -132,7 +132,7 @@ public: /** * A list of error codes generated from validation attempts. - * Need to find all the possible subclause reports that need reporting + * Need to find all the possible sub-clause reports that need reporting * * @return list of error codes */ diff --git a/src/xercesc/framework/psvi/XSComplexTypeDefinition.hpp b/src/xercesc/framework/psvi/XSComplexTypeDefinition.hpp index db434153d..dfc341cad 100644 --- a/src/xercesc/framework/psvi/XSComplexTypeDefinition.hpp +++ b/src/xercesc/framework/psvi/XSComplexTypeDefinition.hpp @@ -160,7 +160,7 @@ public: /** * [prohibited substitutions]: a subset of {extension, restriction} - * @param toTest Extention or restriction constants (see + * @param toTest Extension or restriction constants (see * <code>XSObject</code>). * @return True if toTest is a prohibited substitution, otherwise * false. diff --git a/src/xercesc/framework/psvi/XSValue.cpp b/src/xercesc/framework/psvi/XSValue.cpp index d27ba2029..caed61c83 100644 --- a/src/xercesc/framework/psvi/XSValue.cpp +++ b/src/xercesc/framework/psvi/XSValue.cpp @@ -1434,7 +1434,7 @@ XSValue::getActValDateTimes(const XMLCh* const input_content retVal->fData.fValue.f_datetime.f_hour = coreDate.fValue[XMLDateTime::Hour]; retVal->fData.fValue.f_datetime.f_min = coreDate.fValue[XMLDateTime::Minute]; retVal->fData.fValue.f_datetime.f_second = coreDate.fValue[XMLDateTime::Second]; - retVal->fData.fValue.f_datetime.f_milisec = coreDate.fMiliSecond; + retVal->fData.fValue.f_datetime.f_milisec = coreDate.fMilliSecond; return retVal; } diff --git a/src/xercesc/framework/psvi/XSValue.hpp b/src/xercesc/framework/psvi/XSValue.hpp index 044af6ac7..2f131b93e 100644 --- a/src/xercesc/framework/psvi/XSValue.hpp +++ b/src/xercesc/framework/psvi/XSValue.hpp @@ -171,7 +171,7 @@ public: * Get the actual value, in the form of XSValue, for a given string of the * data type specified * - * Client application is responsible for the deleletion of the XSValue returned. + * Client application is responsible for the deletion of the XSValue returned. * * @param content raw data * @param datatype schema datatype diff --git a/src/xercesc/internal/BinMemOutputStream.cpp b/src/xercesc/internal/BinMemOutputStream.cpp index 56d642375..a59ecd830 100644 --- a/src/xercesc/internal/BinMemOutputStream.cpp +++ b/src/xercesc/internal/BinMemOutputStream.cpp @@ -53,7 +53,7 @@ void BinMemOutputStream::writeBytes( const XMLByte* const toGo if (maxToWrite) { - insureCapacity(maxToWrite); + ensureCapacity(maxToWrite); memcpy(&fDataBuf[fIndex], toGo, maxToWrite * sizeof(XMLByte)); fIndex += maxToWrite; } @@ -91,7 +91,7 @@ XMLFilePos BinMemOutputStream::getSize() const // --------------------------------------------------------------------------- // BinMemOutputStream: Private helper methods // --------------------------------------------------------------------------- -void BinMemOutputStream::insureCapacity(const XMLSize_t extraNeeded) +void BinMemOutputStream::ensureCapacity(const XMLSize_t extraNeeded) { // If we can handle it, do nothing yet if (fIndex + extraNeeded < fCapacity) diff --git a/src/xercesc/internal/BinMemOutputStream.hpp b/src/xercesc/internal/BinMemOutputStream.hpp index 73013c3e1..13e9885bb 100644 --- a/src/xercesc/internal/BinMemOutputStream.hpp +++ b/src/xercesc/internal/BinMemOutputStream.hpp @@ -71,7 +71,7 @@ private : // ----------------------------------------------------------------------- // Private helpers // ----------------------------------------------------------------------- - void insureCapacity(const XMLSize_t extraNeeded); + void ensureCapacity(const XMLSize_t extraNeeded); // ----------------------------------------------------------------------- // Private data members diff --git a/src/xercesc/parsers/AbstractDOMParser.cpp b/src/xercesc/parsers/AbstractDOMParser.cpp index a2004f8e1..7b4129343 100644 --- a/src/xercesc/parsers/AbstractDOMParser.cpp +++ b/src/xercesc/parsers/AbstractDOMParser.cpp @@ -686,7 +686,7 @@ void AbstractDOMParser::handleElementPSVI(const XMLCh* const localNam { DOMTypeInfoImpl* typeInfo=new (getDocument()) DOMTypeInfoImpl(); typeInfo->setNumericProperty(DOMPSVITypeInfo::PSVI_Validity, elementInfo->getValidity()); - typeInfo->setNumericProperty(DOMPSVITypeInfo::PSVI_Validitation_Attempted, elementInfo->getValidationAttempted()); + typeInfo->setNumericProperty(DOMPSVITypeInfo::PSVI_Validation_Attempted, elementInfo->getValidationAttempted()); if(elementInfo->getTypeDefinition()) { typeInfo->setNumericProperty(DOMPSVITypeInfo::PSVI_Type_Definition_Type, elementInfo->getTypeDefinition()->getTypeCategory()); @@ -745,7 +745,7 @@ void AbstractDOMParser::handleAttributesPSVI( const XMLCh* const loca { DOMTypeInfoImpl* typeInfo=new (getDocument()) DOMTypeInfoImpl(); typeInfo->setNumericProperty(DOMPSVITypeInfo::PSVI_Validity, attrInfo->getValidity()); - typeInfo->setNumericProperty(DOMPSVITypeInfo::PSVI_Validitation_Attempted, attrInfo->getValidationAttempted()); + typeInfo->setNumericProperty(DOMPSVITypeInfo::PSVI_Validation_Attempted, attrInfo->getValidationAttempted()); if(attrInfo->getTypeDefinition()) { typeInfo->setNumericProperty(DOMPSVITypeInfo::PSVI_Type_Definition_Type, XSTypeDefinition::SIMPLE_TYPE); diff --git a/src/xercesc/parsers/AbstractDOMParser.hpp b/src/xercesc/parsers/AbstractDOMParser.hpp index bd227a625..be4e0eacf 100644 --- a/src/xercesc/parsers/AbstractDOMParser.hpp +++ b/src/xercesc/parsers/AbstractDOMParser.hpp @@ -85,7 +85,7 @@ public : // ----------------------------------------------------------------------- - // Constructors and Detructor + // Constructors and Destructor // ----------------------------------------------------------------------- /** @name Destructor */ //@{ @@ -276,7 +276,7 @@ public : */ bool getIncludeIgnorableWhitespace() const; - /** Get the set of Namespace/SchemaLocation that is specified externaly. + /** Get the set of Namespace/SchemaLocation that is specified externally. * * This method returns the list of Namespace/SchemaLocation that was * specified using setExternalSchemaLocation. @@ -284,7 +284,7 @@ public : * The parser owns the returned string, and the memory allocated for * the returned string will be destroyed when the parser is deleted. * - * To ensure assessiblity of the returned information after the parser + * To ensure accessibility of the returned information after the parser * is deleted, callers need to copy and store the returned information * somewhere else. * @@ -297,7 +297,7 @@ public : */ XMLCh* getExternalSchemaLocation() const; - /** Get the noNamespace SchemaLocation that is specified externaly. + /** Get the noNamespace SchemaLocation that is specified externally. * * This method returns the no target namespace XML Schema Location * that was specified using setExternalNoNamespaceSchemaLocation. @@ -305,7 +305,7 @@ public : * The parser owns the returned string, and the memory allocated for * the returned string will be destroyed when the parser is deleted. * - * To ensure assessiblity of the returned information after the parser + * To ensure accessibility of the returned information after the parser * is deleted, callers need to copy and store the returned information * somewhere else. * @@ -573,7 +573,7 @@ public : /** * This method allows users to set the parser's behaviour when it - * encounters a validtion constraint error. If set to true, and the + * encounters a validation constraint error. If set to true, and the * the parser will treat validation error as fatal and will exit depends on the * state of "getExitOnFirstFatalError". If false, then it will * report the error and continue processing. @@ -677,7 +677,7 @@ public : * * Full schema constraint checking includes those checking that may * be time-consuming or memory intensive. Currently, particle unique - * attribution constraint checking and particle derivation resriction checking + * attribution constraint checking and particle derivation restriction checking * are controlled by this option. * * The parser's default state is: false. @@ -706,7 +706,7 @@ public : /** * This method allows the user to specify a list of schemas to use. * If the targetNamespace of a schema specified using this method matches - * the targetNamespace of a schema occuring in the instance document in + * the targetNamespace of a schema occurring in the instance document in * the schemaLocation attribute, or if the targetNamespace matches the * namespace attribute of the "import" element, the schema specified by the * user using this method will be used (i.e., the schemaLocation attribute @@ -1043,7 +1043,7 @@ public : * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a Unicode string represting the path + * @param systemId A pointer to a Unicode string representing the path * to the XML file to be parsed. * @param toFill A token maintaing state information to maintain * internal consistency between invocation of 'parseNext' @@ -1075,7 +1075,7 @@ public : * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a regular native string represting + * @param systemId A pointer to a regular native string representing * the path to the XML file to be parsed. * @param toFill A token maintaing state information to maintain * internal consistency between invocation of 'parseNext' @@ -1708,7 +1708,7 @@ protected: // Indicates whether entity reference nodes should be created. // // fIncludeIgnorableWhitespace - // Indicates whether ignorable whiltespace should be added to + // Indicates whether ignorable whitespace should be added to // the DOM tree for validating parsers. // // fScanner diff --git a/src/xercesc/parsers/SAX2XMLFilterImpl.hpp b/src/xercesc/parsers/SAX2XMLFilterImpl.hpp index 2a193b3ff..008d78ad7 100644 --- a/src/xercesc/parsers/SAX2XMLFilterImpl.hpp +++ b/src/xercesc/parsers/SAX2XMLFilterImpl.hpp @@ -109,7 +109,7 @@ public : * The parser owns the returned pointer. The memory allocated for * the returned pointer will be destroyed when the parser is deleted. * - * To ensure assessiblity of the returned information after the parser + * To ensure accessibility of the returned information after the parser * is deleted, callers need to copy and store the returned information * somewhere else; otherwise you may get unexpected result. Since the returned * pointer is a generic void pointer, see the SAX2 Programming Guide to learn @@ -516,7 +516,7 @@ public : /** * This method allows users to set the parser's behaviour when it - * encounters a validtion constraint error. If set to true, and the + * encounters a validation constraint error. If set to true, and the * the parser will treat validation error as fatal and will exit depends on the * state of "getExitOnFirstFatalError". If false, then it will * report the error and continue processing. @@ -562,7 +562,7 @@ public : * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a Unicode string represting the path + * @param systemId A pointer to a Unicode string representing the path * to the XML file to be parsed. * @param toFill A token maintaing state information to maintain * internal consistency between invocation of 'parseNext' @@ -595,10 +595,10 @@ public : * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a regular native string represting + * @param systemId A pointer to a regular native string representing * the path to the XML file to be parsed. * @param toFill A token maintaing state information to maintain - * internal consIstency between invocation of 'parseNext' + * internal consistency between invocation of 'parseNext' * calls. * * @return 'true', if successful in parsing the prolog. It indicates the @@ -720,7 +720,7 @@ public : * points to the schema grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -750,7 +750,7 @@ public : * preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -777,7 +777,7 @@ public : * the path to the XML grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -983,7 +983,7 @@ public : /** * Reset the DocType object on its reuse * - * <p>This method helps in reseting the DTD object implementational + * <p>This method helps in reseting the DTD object implementation * defaults each time the DTD is begun.</p> * */ @@ -1049,7 +1049,7 @@ public : * startElement() event for every endElement() event (even when the * element is empty).</p> * - * @param uri The URI of the asscioated namespace for this element + * @param uri The URI of the associated namespace for this element * @param localname The local part of the element name * @param qname The QName of this element * @exception SAXException Any SAX exception, possibly @@ -1170,7 +1170,7 @@ public : * contain only attributes with explicit values (specified or * defaulted): #IMPLIED attributes will be omitted.</p> * - * @param uri The URI of the asscioated namespace for this element + * @param uri The URI of the associated namespace for this element * @param localname The local part of the element name * @param qname The QName of this element * @param attrs The attributes attached to the element, if any. @@ -1323,7 +1323,7 @@ public : * Reset the Error handler object on its reuse * * <p>This method helps in reseting the Error handler object - * implementational defaults each time the Error handler is begun.</p> + * implementation defaults each time the Error handler is begun.</p> * */ virtual void resetErrors(); diff --git a/src/xercesc/parsers/SAX2XMLReaderImpl.hpp b/src/xercesc/parsers/SAX2XMLReaderImpl.hpp index 87f5e0b5d..dcac0b772 100644 --- a/src/xercesc/parsers/SAX2XMLReaderImpl.hpp +++ b/src/xercesc/parsers/SAX2XMLReaderImpl.hpp @@ -147,7 +147,7 @@ public : * The parser owns the returned pointer. The memory allocated for * the returned pointer will be destroyed when the parser is deleted. * - * To ensure assessiblity of the returned information after the parser + * To ensure accessibility of the returned information after the parser * is deleted, callers need to copy and store the returned information * somewhere else; otherwise you may get unexpected result. Since the returned * pointer is a generic void pointer, see the SAX2 Programming Guide to learn @@ -587,7 +587,7 @@ public : /** * This method allows users to set the parser's behaviour when it - * encounters a validtion constraint error. If set to true, and the + * encounters a validation constraint error. If set to true, and the * the parser will treat validation error as fatal and will exit depends on the * state of "getExitOnFirstFatalError". If false, then it will * report the error and continue processing. @@ -633,7 +633,7 @@ public : * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a Unicode string represting the path + * @param systemId A pointer to a Unicode string representing the path * to the XML file to be parsed. * @param toFill A token maintaing state information to maintain * internal consistency between invocation of 'parseNext' @@ -666,10 +666,10 @@ public : * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a regular native string represting + * @param systemId A pointer to a regular native string representing * the path to the XML file to be parsed. * @param toFill A token maintaing state information to maintain - * internal consIstency between invocation of 'parseNext' + * internal consistency between invocation of 'parseNext' * calls. * * @return 'true', if successful in parsing the prolog. It indicates the @@ -789,7 +789,7 @@ public : * points to the schema grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -817,7 +817,7 @@ public : * preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -842,7 +842,7 @@ public : * the path to the XML grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -1020,7 +1020,7 @@ public : * was just scanned. * * <p>If any advanced callback handlers are installed, the - * corresponding 'endEnityReference' method is invoked.</p> + * corresponding 'endEntityReference' method is invoked.</p> * * @param entDecl A const reference to the object containing the * entity declaration information. @@ -1115,7 +1115,7 @@ public : * This method is used to indicate the start of an entity reference. * * <p>If any advanced callback handlers are installed, the - * corresponding 'endEnityReference' method is invoked.</p> + * corresponding 'endEntityReference' method is invoked.</p> * * @param entDecl A const reference to the object containing the * entity declaration information. @@ -1226,7 +1226,7 @@ public : /** * This method allows an installed XMLEntityHandler to further - * process any system id's of enternal entities encountered in + * process any system id's of external entities encountered in * the XML file being parsed, such as redirection etc. * * <b><font color="#FF0000">This method always returns 'false' diff --git a/src/xercesc/parsers/SAXParser.hpp b/src/xercesc/parsers/SAXParser.hpp index cfb8345df..5590f2070 100644 --- a/src/xercesc/parsers/SAXParser.hpp +++ b/src/xercesc/parsers/SAXParser.hpp @@ -106,7 +106,7 @@ public : * parser is responsible for freeing the memory. * @param manager Pointer to the memory manager to be used to * allocate objects. - * @param gramPool The collection of cached grammers. + * @param gramPool The collection of cached grammars. */ SAXParser ( @@ -306,7 +306,7 @@ public : */ bool getValidationConstraintFatal() const; - /** Get the set of Namespace/SchemaLocation that is specified externaly. + /** Get the set of Namespace/SchemaLocation that is specified externally. * * This method returns the list of Namespace/SchemaLocation that was * specified using setExternalSchemaLocation. @@ -314,7 +314,7 @@ public : * The parser owns the returned string, and the memory allocated for * the returned string will be destroyed when the parser is deleted. * - * To ensure assessiblity of the returned information after the parser + * To ensure accessibility of the returned information after the parser * is deleted, callers need to copy and store the returned information * somewhere else. * @@ -327,7 +327,7 @@ public : */ XMLCh* getExternalSchemaLocation() const; - /** Get the noNamespace SchemaLocation that is specified externaly. + /** Get the noNamespace SchemaLocation that is specified externally. * * This method returns the no target namespace XML Schema Location * that was specified using setExternalNoNamespaceSchemaLocation. @@ -335,7 +335,7 @@ public : * The parser owns the returned string, and the memory allocated for * the returned string will be destroyed when the parser is deleted. * - * To ensure assessiblity of the returned information after the parser + * To ensure accessibility of the returned information after the parser * is deleted, callers need to copy and store the returned information * somewhere else. * @@ -639,7 +639,7 @@ public : * * Full schema constraint checking includes those checking that may * be time-consuming or memory intensive. Currently, particle unique - * attribution constraint checking and particle derivation resriction checking + * attribution constraint checking and particle derivation restriction checking * are controlled by this option. * * The parser's default state is: false. @@ -682,7 +682,7 @@ public : /** * This method allows users to set the parser's behaviour when it - * encounters a validtion constraint error. If set to true, and the + * encounters a validation constraint error. If set to true, and the * the parser will treat validation error as fatal and will exit depends on the * state of "getExitOnFirstFatalError". If false, then it will * report the error and continue processing. @@ -704,7 +704,7 @@ public : /** * This method allows the user to specify a list of schemas to use. * If the targetNamespace of a schema specified using this method matches - * the targetNamespace of a schema occuring in the instance document in + * the targetNamespace of a schema occurring in the instance document in * the schemaLocation attribute, or if the targetNamespace matches the * namespace attribute of the "import" element, the schema specified by the * user using this method will be used (i.e., the schemaLocation attribute @@ -1041,7 +1041,7 @@ public : * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a Unicode string represting the path + * @param systemId A pointer to a Unicode string representing the path * to the XML file to be parsed. * @param toFill A token maintaing state information to maintain * internal consistency between invocation of 'parseNext' @@ -1074,10 +1074,10 @@ public : * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a regular native string represting + * @param systemId A pointer to a regular native string representing * the path to the XML file to be parsed. * @param toFill A token maintaing state information to maintain - * internal consIstency between invocation of 'parseNext' + * internal consistency between invocation of 'parseNext' * calls. * * @return 'true', if successful in parsing the prolog. It indicates the @@ -1199,7 +1199,7 @@ public : * points to the schema grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -1229,7 +1229,7 @@ public : * preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -1256,7 +1256,7 @@ public : * the path to the XML grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -1511,7 +1511,7 @@ public : * was just scanned. * * <p>If any advanced callback handlers are installed, the - * corresponding 'endEnityReference' method is invoked.</p> + * corresponding 'endEntityReference' method is invoked.</p> * * @param entDecl A const reference to the object containing the * entity declaration information. @@ -1606,7 +1606,7 @@ public : * This method is used to indicate the start of an entity reference. * * <p>If any advanced callback handlers are installed, the - * corresponding 'endEnityReference' method is invoked.</p> + * corresponding 'endEntityReference' method is invoked.</p> * * @param entDecl A const reference to the object containing the * entity declaration information. @@ -1717,7 +1717,7 @@ public : /** * This method allows an installed XMLEntityHandler to further - * process any system id's of enternal entities encountered in + * process any system id's of external entities encountered in * the XML file being parsed, such as redirection etc. * * <b>This method always returns 'false' diff --git a/src/xercesc/parsers/XercesDOMParser.hpp b/src/xercesc/parsers/XercesDOMParser.hpp index 827c7f967..f257d2e76 100644 --- a/src/xercesc/parsers/XercesDOMParser.hpp +++ b/src/xercesc/parsers/XercesDOMParser.hpp @@ -38,7 +38,7 @@ class XMLResourceIdentifier; * This class implements the Document Object Model (DOM) interface. * It should be used by applications which choose to parse and * process the XML document using the DOM api's. This implementation - * also allows the applications to install an error and an entitty + * also allows the applications to install an error and an entity * handler (useful extensions to the DOM specification). * * <p>It can be used to instantiate a validating or non-validating @@ -48,7 +48,7 @@ class PARSERS_EXPORT XercesDOMParser : public AbstractDOMParser { public : // ----------------------------------------------------------------------- - // Constructors and Detructor + // Constructors and Destructor // ----------------------------------------------------------------------- /** @name Constructors and Destructor */ @@ -298,7 +298,7 @@ public : * instead of building the grammar from scratch, to validate XML * documents. * - * If the 'Grammar caching' flag is set to true, this mehod ignore the + * If the 'Grammar caching' flag is set to true, this method ignore the * value passed in. * * The parser's default state is: false. @@ -441,7 +441,7 @@ public : /** Expand a system id * * This method allows an installed XMLEntityHandler to further - * process any system id's of enternal entities encountered in + * process any system id's of external entities encountered in * the XML file being parsed, such as redirection etc. * * <b>This method always returns 'false' @@ -526,7 +526,7 @@ public : * points to the schema grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -556,7 +556,7 @@ public : * preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -583,7 +583,7 @@ public : * the path to the XML grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * diff --git a/src/xercesc/sax/AttributeList.hpp b/src/xercesc/sax/AttributeList.hpp index 0f625cac6..34ccc819e 100644 --- a/src/xercesc/sax/AttributeList.hpp +++ b/src/xercesc/sax/AttributeList.hpp @@ -137,7 +137,7 @@ public: * * If the parser has not read a declaration for the attribute, * or if the parser does not report attribute types, then it must - * return the value "CDATA" as stated in the XML 1.0 Recommentation + * return the value "CDATA" as stated in the XML 1.0 Recommendation * (clause 3.3.3, "Attribute-Value Normalization"). * * For an enumerated attribute that is not a notation, the diff --git a/src/xercesc/sax/DTDHandler.hpp b/src/xercesc/sax/DTDHandler.hpp index 0496c5014..70eb79ac9 100644 --- a/src/xercesc/sax/DTDHandler.hpp +++ b/src/xercesc/sax/DTDHandler.hpp @@ -135,7 +135,7 @@ public: /** * Reset the DocType object on its reuse * - * <p>This method helps in reseting the DTD object implementational + * <p>This method helps in reseting the DTD object implementation * defaults each time the DTD is begun.</p> * */ diff --git a/src/xercesc/sax/DocumentHandler.hpp b/src/xercesc/sax/DocumentHandler.hpp index e70c996ed..6aecddb64 100644 --- a/src/xercesc/sax/DocumentHandler.hpp +++ b/src/xercesc/sax/DocumentHandler.hpp @@ -190,9 +190,9 @@ public: ) = 0; /** - * Reset the Docuemnt object on its reuse + * Reset the Document object on its reuse * - * <p>This method helps in reseting the document implementational + * <p>This method helps in reseting the document implementation * defaults each time the document is begun.</p> * */ diff --git a/src/xercesc/sax/ErrorHandler.hpp b/src/xercesc/sax/ErrorHandler.hpp index 88ce4e677..eb517fc6e 100644 --- a/src/xercesc/sax/ErrorHandler.hpp +++ b/src/xercesc/sax/ErrorHandler.hpp @@ -67,7 +67,7 @@ public: { } - /** Desctructor */ + /** Destructor */ virtual ~ErrorHandler() { } @@ -144,7 +144,7 @@ public: * Reset the Error handler object on its reuse * * <p>This method helps in reseting the Error handler object - * implementational defaults each time the Error handler is begun.</p> + * implementation defaults each time the Error handler is begun.</p> * */ virtual void resetErrors() = 0; diff --git a/src/xercesc/sax/HandlerBase.hpp b/src/xercesc/sax/HandlerBase.hpp index 17c4f2b34..12a5cbe2a 100644 --- a/src/xercesc/sax/HandlerBase.hpp +++ b/src/xercesc/sax/HandlerBase.hpp @@ -154,7 +154,7 @@ public: ); /** - * Reset the Docuemnt object on its reuse + * Reset the Document object on its reuse * * @see DocumentHandler#resetDocument */ @@ -225,7 +225,7 @@ public: * in a subclass to do special translations such as catalog lookups * or URI redirection.</p> * - * @param publicId The public identifer, or null if none is + * @param publicId The public identifier, or null if none is * available. * @param systemId The system identifier provided in the XML * document. diff --git a/src/xercesc/sax/InputSource.hpp b/src/xercesc/sax/InputSource.hpp index 903eac314..58334b7a1 100644 --- a/src/xercesc/sax/InputSource.hpp +++ b/src/xercesc/sax/InputSource.hpp @@ -98,7 +98,7 @@ public: //@{ /** * An input source can be set to force the parser to assume a particular - * encoding for the data that input source reprsents, via the setEncoding() + * encoding for the data that input source represents, via the setEncoding() * method. This method returns name of the encoding that is to be forced. * If the encoding has never been forced, it returns a null pointer. * diff --git a/src/xercesc/sax/SAXParseException.hpp b/src/xercesc/sax/SAXParseException.hpp index 6e2b63cd8..a9df4493c 100644 --- a/src/xercesc/sax/SAXParseException.hpp +++ b/src/xercesc/sax/SAXParseException.hpp @@ -77,9 +77,9 @@ public: * fully before creating the exception.</p> * * @param message The error or warning message. - * @param publicId The public identifer of the entity that generated + * @param publicId The public identifier of the entity that generated * the error or warning. - * @param systemId The system identifer of the entity that generated + * @param systemId The system identifier of the entity that generated * the error or warning. * @param lineNumber The line number of the end of the text that * caused the error or warning. diff --git a/src/xercesc/sax2/Attributes.hpp b/src/xercesc/sax2/Attributes.hpp index 1d36f7cfa..2c482a2d1 100644 --- a/src/xercesc/sax2/Attributes.hpp +++ b/src/xercesc/sax2/Attributes.hpp @@ -166,7 +166,7 @@ public: * * If the parser has not read a declaration for the attribute, * or if the parser does not report attribute types, then it must - * return the value "CDATA" as stated in the XML 1.0 Recommentation + * return the value "CDATA" as stated in the XML 1.0 Recommendation * (clause 3.3.3, "Attribute-Value Normalization"). * * For an enumerated attribute that is not a notation, the diff --git a/src/xercesc/sax2/ContentHandler.hpp b/src/xercesc/sax2/ContentHandler.hpp index 1aeda18b5..4224fd54f 100644 --- a/src/xercesc/sax2/ContentHandler.hpp +++ b/src/xercesc/sax2/ContentHandler.hpp @@ -128,7 +128,7 @@ public: * startElement() event for every endElement() event (even when the * element is empty).</p> * - * @param uri The URI of the asscioated namespace for this element + * @param uri The URI of the associated namespace for this element * @param localname The local part of the element name * @param qname The QName of this element * @exception SAXException Any SAX exception, possibly diff --git a/src/xercesc/sax2/DeclHandler.hpp b/src/xercesc/sax2/DeclHandler.hpp index 7cf85a04c..5ed01059f 100644 --- a/src/xercesc/sax2/DeclHandler.hpp +++ b/src/xercesc/sax2/DeclHandler.hpp @@ -89,7 +89,7 @@ public: /** * Report an attribute type declaration. * - * <p>The Parser will call this method to report each occurence of + * <p>The Parser will call this method to report each occurrence of * a comment in the XML document.</p> * * <p>The application must not attempt to read from the array diff --git a/src/xercesc/sax2/DefaultHandler.hpp b/src/xercesc/sax2/DefaultHandler.hpp index cd4756000..528d44eea 100644 --- a/src/xercesc/sax2/DefaultHandler.hpp +++ b/src/xercesc/sax2/DefaultHandler.hpp @@ -112,7 +112,7 @@ public: * each element (such as finalising a tree node or writing * output to a file).</p> * - * @param uri The URI of the asscioated namespace for this element + * @param uri The URI of the associated namespace for this element * @param localname The local part of the element name * @param qname The QName of this element * @exception SAXException Any SAX exception, possibly @@ -169,7 +169,7 @@ public: ); /** - * Reset the Docuemnt object on its reuse + * Reset the Document object on its reuse * * @see DocumentHandler#resetDocument */ @@ -214,7 +214,7 @@ public: * each element (such as allocating a new tree node or writing * output to a file).</p> * - * @param uri The URI of the asscioated namespace for this element + * @param uri The URI of the associated namespace for this element * @param localname the local part of the element name * @param qname the QName of this element * @param attrs The specified or defaulted attributes. @@ -302,7 +302,7 @@ public: * in a subclass to do special translations such as catalog lookups * or URI redirection.</p> * - * @param publicId The public identifer, or null if none is + * @param publicId The public identifier, or null if none is * available. * @param systemId The system identifier provided in the XML * document. @@ -445,7 +445,7 @@ public: /** * Receive notification of comments. * - * <p>The Parser will call this method to report each occurence of + * <p>The Parser will call this method to report each occurrence of * a comment in the XML document.</p> * * <p>The application must not attempt to read from the array diff --git a/src/xercesc/sax2/LexicalHandler.hpp b/src/xercesc/sax2/LexicalHandler.hpp index a75eac2f2..e6ac3e477 100644 --- a/src/xercesc/sax2/LexicalHandler.hpp +++ b/src/xercesc/sax2/LexicalHandler.hpp @@ -65,7 +65,7 @@ public: /** * Receive notification of comments. * - * <p>The Parser will call this method to report each occurence of + * <p>The Parser will call this method to report each occurrence of * a comment in the XML document.</p> * * <p>The application must not attempt to read from the array diff --git a/src/xercesc/sax2/SAX2XMLReader.hpp b/src/xercesc/sax2/SAX2XMLReader.hpp index b2462f092..09e098212 100644 --- a/src/xercesc/sax2/SAX2XMLReader.hpp +++ b/src/xercesc/sax2/SAX2XMLReader.hpp @@ -140,7 +140,7 @@ public: * The parser owns the returned pointer. The memory allocated for * the returned pointer will be destroyed when the parser is deleted. * - * To ensure assessiblity of the returned information after the parser + * To ensure accessibility of the returned information after the parser * is deleted, callers need to copy and store the returned information * somewhere else; otherwise you may get unexpected result. Since the returned * pointer is a generic void pointer, see the SAX2 Programming Guide to learn @@ -547,7 +547,7 @@ public: /** * This method allows users to set the parser's behaviour when it - * encounters a validtion constraint error. If set to true, and the + * encounters a validation constraint error. If set to true, and the * the parser will treat validation error as fatal and will exit depends on the * state of "getExitOnFirstFatalError". If false, then it will * report the error and continue processing. @@ -593,7 +593,7 @@ public: * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a Unicode string represting the path + * @param systemId A pointer to a Unicode string representing the path * to the XML file to be parsed. * @param toFill A token maintaing state information to maintain * internal consistency between invocation of 'parseNext' @@ -626,10 +626,10 @@ public: * the scan of the prolog failed and the token is not going to work on * subsequent scanNext() calls. * - * @param systemId A pointer to a regular native string represting + * @param systemId A pointer to a regular native string representing * the path to the XML file to be parsed. * @param toFill A token maintaing state information to maintain - * internal consIstency between invocation of 'parseNext' + * internal consistency between invocation of 'parseNext' * calls. * * @return 'true', if successful in parsing the prolog. It indicates the @@ -751,7 +751,7 @@ public: * points to the schema grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -781,7 +781,7 @@ public: * preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * @@ -808,7 +808,7 @@ public: * the path to the XML grammar file to be preparsed. * @param grammarType The grammar type (Schema or DTD). * @param toCache If <code>true</code>, we cache the preparsed grammar, - * otherwise, no chaching. Default is <code>false</code>. + * otherwise, no caching. Default is <code>false</code>. * @return The preparsed schema grammar object (SchemaGrammar or * DTDGrammar). That grammar object is owned by the parser. * diff --git a/src/xercesc/sax2/XMLReaderFactory.hpp b/src/xercesc/sax2/XMLReaderFactory.hpp index 18b495e02..a63bcacee 100644 --- a/src/xercesc/sax2/XMLReaderFactory.hpp +++ b/src/xercesc/sax2/XMLReaderFactory.hpp @@ -34,7 +34,7 @@ class XMLGrammarPool; * Creates a SAX2 parser (SAX2XMLReader). * * <p>Note: The parser object returned by XMLReaderFactory is owned by the - * calling users, and it's the responsiblity of the users to delete that + * calling users, and it's the responsibility of the users to delete that * parser object, once they no longer need it.</p> * * @see SAX2XMLReader#SAX2XMLReader diff --git a/src/xercesc/util/Base64.hpp b/src/xercesc/util/Base64.hpp index 04f6b1779..4104de724 100644 --- a/src/xercesc/util/Base64.hpp +++ b/src/xercesc/util/Base64.hpp @@ -143,7 +143,7 @@ public : /** * get canonical representation * - * Caller is responsible for the proper deallcation + * Caller is responsible for the proper deallocation * of the string returned. * * @param inputData A string containing the Base64 @@ -206,7 +206,7 @@ private : // Table used in decoding base64. // // isInitialized - // Set once base64Inverse is initalized. + // Set once base64Inverse is initialized. // // quadsPerLine // Number of quadruplets per one line. The encoded output diff --git a/src/xercesc/util/HexBin.hpp b/src/xercesc/util/HexBin.hpp index 801292606..0b3df788f 100644 --- a/src/xercesc/util/HexBin.hpp +++ b/src/xercesc/util/HexBin.hpp @@ -56,7 +56,7 @@ public : /** * get canonical representation * - * Caller is responsible for the proper deallcation + * Caller is responsible for the proper deallocation * of the string returned. * * @param hexData A string containing the HexBinary @@ -99,7 +99,7 @@ private : // Helper methods // ----------------------------------------------------------------------- - static bool isHex(const XMLCh& octect); + static bool isHex(const XMLCh& octet); // ----------------------------------------------------------------------- // Unimplemented constructors and operators @@ -113,7 +113,7 @@ private : // // isInitialized // - // set once hexNumberTable is initalized. + // set once hexNumberTable is initialized. // // hexNumberTable // diff --git a/src/xercesc/util/LogicalPath.c b/src/xercesc/util/LogicalPath.c index e2581447d..97782abf4 100644 --- a/src/xercesc/util/LogicalPath.c +++ b/src/xercesc/util/LogicalPath.c @@ -98,8 +98,8 @@ XMLCh* XMLPlatformUtils::weavePaths(const XMLCh* const basePath // // 1. concatenate the base and relative - // 2. remove all occurences of "/./" - // 3. remove all occurences of segment/../ where segment is not ../ + // 2. remove all occurrences of "/./" + // 3. remove all occurrences of segment/../ where segment is not ../ // XMLString::subString(tmpBuf, basePath, 0, (basePtr - basePath + 1), manager); @@ -115,7 +115,7 @@ XMLCh* XMLPlatformUtils::weavePaths(const XMLCh* const basePath } // -// Remove all occurences of './' when it is part of '/./' +// Remove all occurrences of './' when it is part of '/./' // // Since it could be '.\' or other combination on windows ( eg, '.'+chYanSign) // we can't make use of patterMatch(). @@ -170,7 +170,7 @@ void XMLPlatformUtils::removeDotSlash(XMLCh* const path } // -// Remove all occurences of '/segment/../' when segment is not '..' +// Remove all occurrences of '/segment/../' when segment is not '..' // // Cases with extra /../ is left to the underlying file system. // diff --git a/src/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp b/src/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp index 4f1c792b1..c945a4b30 100644 --- a/src/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp +++ b/src/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp @@ -90,7 +90,7 @@ private : // // fLocaleBundle // pointer to the required locale specific resource bundle, - // or to the default locale resrouce bundle in case the required + // or to the default locale resource bundle in case the required // locale specific resource bundle unavailable. // // fDomainBundle diff --git a/src/xercesc/util/Mutexes.hpp b/src/xercesc/util/Mutexes.hpp index 363e232a9..50d981753 100644 --- a/src/xercesc/util/Mutexes.hpp +++ b/src/xercesc/util/Mutexes.hpp @@ -68,7 +68,7 @@ private : // ----------------------------------------------------------------------- - // Sun PlatformUtils needs acess to fHandle to initialize the + // Sun PlatformUtils needs access to fHandle to initialize the // atomicOpsMutex at startup. // ----------------------------------------------------------------------- friend class XMLPlatformUtils; diff --git a/src/xercesc/util/NameIdPool.hpp b/src/xercesc/util/NameIdPool.hpp index bb62e8c82..542b832e6 100644 --- a/src/xercesc/util/NameIdPool.hpp +++ b/src/xercesc/util/NameIdPool.hpp @@ -53,7 +53,7 @@ template <class TElem> class NameIdPoolEnumerator; // whole thing is flushed. This makes it very easy to maintain the two // access methods in sync. // -// For efficiency reasons, the id refererence array is never flushed until +// For efficiency reasons, the id reference array is never flushed until // the dtor. This way, it does not have to be regrown every time its reused. // // All elements are assumed to be owned by the pool! @@ -63,7 +63,7 @@ template <class TElem> class NameIdPool : public XMemory { public : // ----------------------------------------------------------------------- - // Contructors and Destructor + // Constructors and Destructor // ----------------------------------------------------------------------- NameIdPool ( diff --git a/src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.hpp b/src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.hpp index e87385428..463d9a061 100644 --- a/src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.hpp +++ b/src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.hpp @@ -80,7 +80,7 @@ public: for(; *(chars+count); ++count) ; if(fIndex + count >= fCapacity) { - insureCapacity(count); + ensureCapacity(count); } memcpy(&fBuffer[fIndex], chars, count * sizeof(char)); fIndex += count; @@ -91,7 +91,7 @@ public: { if(chars != 0 && len != 0) { if(fIndex + len >= fCapacity) { - insureCapacity(len); + ensureCapacity(len); } memcpy(&fBuffer[fIndex], chars, len * sizeof(char)); fIndex += len; @@ -106,7 +106,7 @@ public: } if(fIndex + 1 >= fCapacity) - insureCapacity(1); + ensureCapacity(1); fBuffer[fIndex] = '0' + n; ++fIndex; @@ -125,7 +125,7 @@ private: CharBuffer(const CharBuffer &); CharBuffer &operator=(const CharBuffer &); - void insureCapacity(XMLSize_t extraNeeded) + void ensureCapacity(XMLSize_t extraNeeded) { // If we can't handle it, try doubling the buffer size. XMLSize_t newCap = (fIndex + extraNeeded) * 2; diff --git a/src/xercesc/util/PlatformUtils.hpp b/src/xercesc/util/PlatformUtils.hpp index 621e81bf4..9f031f56e 100644 --- a/src/xercesc/util/PlatformUtils.hpp +++ b/src/xercesc/util/PlatformUtils.hpp @@ -62,7 +62,7 @@ private : * * This class contains methods that must be implemented in a platform * specific manner. The actual implementations of these methods are - * available in the per-platform files indide <code>src/util/Platforms + * available in the per-platform files inside <code>src/util/Platforms * </code>. */ class XMLUTIL_EXPORT XMLPlatformUtils @@ -89,11 +89,11 @@ public : /** The transcoding service. * * This is provided by the per platform driver, so each platform can - * choose what implemenation it wants to use. When the platform + * choose what implementation it wants to use. When the platform * independent initialization code needs to get a transcoding service * object, it will call <code>makeTransService()</code> to ask the * per-platform code to create one. Only one transcoding service - * object is reqeusted per-process, so it is shared and synchronized + * object is requested per-process, so it is shared and synchronized * among parser instances within that process. */ static XMLTransService* fgTransService; @@ -251,7 +251,7 @@ public : * in the absence of it, the default panic handler. * * In case the default panic handler does not support a particular - * platform, the platform specific panic hanlding shall be implemented + * platform, the platform specific panic handling shall be implemented * here </p>. * * @param reason The enumeration that defines the cause of the failure @@ -275,7 +275,7 @@ public : /** Get the current file position * * This must be implemented by the per-platform driver, which should - * use local file services to deterine the current position within + * use local file services to determine the current position within * the passed file. * * Since the file API provided here only reads, if the host platform @@ -486,7 +486,7 @@ public : MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager ); - /** Check if a charater is a slash + /** Check if a character is a slash * * This must be implemented by the per-platform driver. * @@ -497,7 +497,7 @@ public : */ static inline bool isAnySlash(XMLCh c); - /** Remove occurences of the pair of dot slash + /** Remove occurrences of the pair of dot slash * * To remove the sequence, dot slash if it is part of the sequence, * slash dot slash. @@ -509,7 +509,7 @@ public : static void removeDotSlash(XMLCh* const srcPath , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager); - /** Remove occurences of the dot dot slash + /** Remove occurrences of the dot dot slash * * To remove the sequence, slash dot dot slash and its preceding path segment * if and only if the preceding path segment is not slash dot dot slash. @@ -574,7 +574,7 @@ public : * This must be implemented by the per-platform driver, which should * use local services to return the current value of a running * millisecond timer. Note that the value returned is only as accurate - * as the millisecond time of the underyling host system. + * as the millisecond time of the underlying host system. * * @return Returns the system time as an unsigned long */ @@ -733,7 +733,7 @@ private : */ static XMLNetAccessor* makeNetAccessor(); - /** Creates a Transoding service + /** Creates a Transcoding service * * Each per-platform driver must implement this method and return some * derivative of the XMLTransService class. This object serves as the @@ -749,7 +749,7 @@ private : * * @param srcPath the path to search * - * @return the position of the first occurence of slash dot dot slash + * @return the position of the first occurrence of slash dot dot slash * -1 if no such sequence is found */ static int searchSlashDotDotSlash(XMLCh* const srcPath); diff --git a/src/xercesc/util/QName.hpp b/src/xercesc/util/QName.hpp index 2b3468fe5..a950d0d84 100644 --- a/src/xercesc/util/QName.hpp +++ b/src/xercesc/util/QName.hpp @@ -35,7 +35,7 @@ class XMLUTIL_EXPORT QName : public XSerializable, public XMemory { public : // ----------------------------------------------------------------------- - // Contructors and Destructor + // Constructors and Destructor // ----------------------------------------------------------------------- /** Default constructor. */ QName(MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager); @@ -134,7 +134,7 @@ private : // The prefix that was applied to this attribute's name, and the // current size of the buffer (minus one for the null.) Prefixes // really don't matter technically but it might be required for - // pratical reasons, to recreate the original document for instance. + // practical reasons, to recreate the original document for instance. // // fLocalPart // fLocalPartBufSz @@ -146,7 +146,7 @@ private : // This is the QName form of the name, which is faulted in (from the // prefix and name) upon request. The size field indicates the // current size of the buffer (minus one for the null.) It will be - // zero until fauled in. + // zero until filled in. // // fURIId // The id of the URI that this attribute belongs to. diff --git a/src/xercesc/util/RefArrayOf.c b/src/xercesc/util/RefArrayOf.c index b2e9be9cc..6e22db374 100644 --- a/src/xercesc/util/RefArrayOf.c +++ b/src/xercesc/util/RefArrayOf.c @@ -30,7 +30,7 @@ XERCES_CPP_NAMESPACE_BEGIN // --------------------------------------------------------------------------- -// RefArrayOf: Contructors and Destructor +// RefArrayOf: Constructors and Destructor // --------------------------------------------------------------------------- template <class TElem> RefArrayOf<TElem>::RefArrayOf(const XMLSize_t size, @@ -218,7 +218,7 @@ template <class TElem> void RefArrayOf<TElem>::resize(const XMLSize_t newSize) for (; index < newSize; index++) newArray[index] = 0; - // Delete the old array and udpate our members + // Delete the old array and update our members fMemoryManager->deallocate(fArray);//delete [] fArray; fArray = newArray; fSize = newSize; diff --git a/src/xercesc/util/RefArrayOf.hpp b/src/xercesc/util/RefArrayOf.hpp index 9a9861f14..1bd949a25 100644 --- a/src/xercesc/util/RefArrayOf.hpp +++ b/src/xercesc/util/RefArrayOf.hpp @@ -34,7 +34,7 @@ template <class TElem> class RefArrayOf : public XMemory { public : // ----------------------------------------------------------------------- - // Contructors and Destructor + // Constructors and Destructor // ----------------------------------------------------------------------- RefArrayOf ( diff --git a/src/xercesc/util/StringPool.hpp b/src/xercesc/util/StringPool.hpp index d6185b2be..6dfbfabbb 100644 --- a/src/xercesc/util/StringPool.hpp +++ b/src/xercesc/util/StringPool.hpp @@ -29,7 +29,7 @@ XERCES_CPP_NAMESPACE_BEGIN // // This class implements a string pool, in which strings can be added and -// given a unique id by which they can be refered. It has to provide fast +// given a unique id by which they can be referred. It has to provide fast // access both mapping from a string to its id and mapping from an id to // its string. This requires that it provide two separate data structures. // The map one is a hash table for quick storage and look up by name. The @@ -126,7 +126,7 @@ protected: }; -// Provid inline versions of some of the simple functions to improve performance. +// Provide inline versions of some of the simple functions to improve performance. inline unsigned int XMLStringPool::addOrFind(const XMLCh* const newString) { PoolElem* elemToFind = fHashTable->get(newString); diff --git a/src/xercesc/util/TransENameMap.hpp b/src/xercesc/util/TransENameMap.hpp index 42666b221..e896bc9fe 100644 --- a/src/xercesc/util/TransENameMap.hpp +++ b/src/xercesc/util/TransENameMap.hpp @@ -151,7 +151,7 @@ private : // Private data members // // fSwapped - // Indicates whether the endianess of the encoding is opposite of + // Indicates whether the endianness of the encoding is opposite of // that of the local host. // ----------------------------------------------------------------------- bool fSwapped; diff --git a/src/xercesc/util/TransService.hpp b/src/xercesc/util/TransService.hpp index 1bf92d999..b1f0b2883 100644 --- a/src/xercesc/util/TransService.hpp +++ b/src/xercesc/util/TransService.hpp @@ -134,7 +134,7 @@ public : virtual void lowerCase(XMLCh* const toLowerCase) = 0; // ----------------------------------------------------------------------- - // Allow users to add their own encodings to the intrinsinc mapping + // Allow users to add their own encodings to the intrinsic mapping // table // Usage: // XMLTransService::addEncoding ( diff --git a/src/xercesc/util/Transcoders/ICU/ICUTransService.hpp b/src/xercesc/util/Transcoders/ICU/ICUTransService.hpp index 986a458e1..c8f435f57 100644 --- a/src/xercesc/util/Transcoders/ICU/ICUTransService.hpp +++ b/src/xercesc/util/Transcoders/ICU/ICUTransService.hpp @@ -157,7 +157,7 @@ private : // // fSrcOffsets // This is an array of longs, which are allocated to the size of - // the trancoding block (if any) indicated in the ctor. It is used + // the transcoding block (if any) indicated in the ctor. It is used // to get the character offsets from ICU, which are then translated // into an array of char sizes for return. // ----------------------------------------------------------------------- diff --git a/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp b/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp index 427a15c11..81f0d5bdd 100644 --- a/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp +++ b/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp @@ -55,7 +55,7 @@ public: // Convert XMLCh into "native unicode" character void xmlChToMbc (XMLCh xch, char *mbc) const; - // Fill array of XMLCh characters with data, supplyed in the array + // Fill array of XMLCh characters with data, supplied in the array // of "native unicode" characters. XMLCh* mbsToXML ( const char* mbs_str, @@ -64,7 +64,7 @@ public: ) const; - // Fill array of "native unicode" characters with data, supplyed + // Fill array of "native unicode" characters with data, supplied // in the array of XMLCh characters. char* xmlToMbs ( @@ -90,7 +90,7 @@ protected: // Return uppercase equivalent for XMLCh XMLCh toLower (const XMLCh ch); - // Wrapper aroung the iconv() for transcoding from the local charset + // Wrapper around the iconv() for transcoding from the local charset size_t iconvFrom ( const char *fromPtr, @@ -99,7 +99,7 @@ protected: size_t toLen ); - // Wrapper aroung the iconv() for transcoding to the local charset + // Wrapper around the iconv() for transcoding to the local charset size_t iconvTo ( const char *fromPtr, diff --git a/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp b/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp index 100844ddd..ef4ad44c0 100644 --- a/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp +++ b/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp @@ -271,7 +271,7 @@ private : // ----------------------------------------------------------------------- XMLTranscoder* const mTranscoder; MemoryManager* const mManager; - XMLMutex mMutex; // Mutex to enable rentrancy of LCP transcoder + XMLMutex mMutex; // Mutex to enable reentrancy of LCP transcoder }; XERCES_CPP_NAMESPACE_END diff --git a/src/xercesc/util/ValueArrayOf.c b/src/xercesc/util/ValueArrayOf.c index 7c0525f2a..1683e1b67 100644 --- a/src/xercesc/util/ValueArrayOf.c +++ b/src/xercesc/util/ValueArrayOf.c @@ -31,7 +31,7 @@ XERCES_CPP_NAMESPACE_BEGIN // --------------------------------------------------------------------------- -// ValueArrayOf: Contructors and Destructor +// ValueArrayOf: Constructors and Destructor // --------------------------------------------------------------------------- template <class TElem> ValueArrayOf<TElem>::ValueArrayOf(const XMLSize_t size, @@ -203,7 +203,7 @@ resize(const XMLSize_t newSize) for (; index < newSize; index++) newArray[index] = TElem(0); - // Delete the old array and udpate our members + // Delete the old array and update our members fMemoryManager->deallocate(fArray); //delete [] fArray; fArray = newArray; fSize = newSize; diff --git a/src/xercesc/util/ValueArrayOf.hpp b/src/xercesc/util/ValueArrayOf.hpp index d17fd3b08..e47631ec6 100644 --- a/src/xercesc/util/ValueArrayOf.hpp +++ b/src/xercesc/util/ValueArrayOf.hpp @@ -34,7 +34,7 @@ template <class TElem> class ValueArrayOf : public XMemory { public : // ----------------------------------------------------------------------- - // Contructors and Destructor + // Constructors and Destructor // ----------------------------------------------------------------------- ValueArrayOf ( diff --git a/src/xercesc/util/XML88591Transcoder.hpp b/src/xercesc/util/XML88591Transcoder.hpp index 9c085a3a3..5935278b5 100644 --- a/src/xercesc/util/XML88591Transcoder.hpp +++ b/src/xercesc/util/XML88591Transcoder.hpp @@ -31,7 +31,7 @@ XERCES_CPP_NAMESPACE_BEGIN // This class provides an implementation of the XMLTranscoder interface // for a simple 8859-1 transcoder. The parser does some encodings // intrinsically without depending upon external transcoding services. -// To make everything more orthagonal, we implement these internal +// To make everything more orthogonal, we implement these internal // transcoders using the same transcoder abstraction as the pluggable // transcoding services do. // diff --git a/src/xercesc/util/XMLASCIITranscoder.hpp b/src/xercesc/util/XMLASCIITranscoder.hpp index e318c5616..dccd99213 100644 --- a/src/xercesc/util/XMLASCIITranscoder.hpp +++ b/src/xercesc/util/XMLASCIITranscoder.hpp @@ -31,7 +31,7 @@ XERCES_CPP_NAMESPACE_BEGIN // This class provides an implementation of the XMLTranscoder interface // for a simple ASCII transcoder. The parser does some encodings // intrinsically without depending upon external transcoding services. -// To make everything more orthagonal, we implement these internal +// To make everything more orthogonal, we implement these internal // transcoders using the same transcoder abstraction as the pluggable // transcoding services do. // diff --git a/src/xercesc/util/XMLBigDecimal.hpp b/src/xercesc/util/XMLBigDecimal.hpp index da40eec9e..23195623f 100644 --- a/src/xercesc/util/XMLBigDecimal.hpp +++ b/src/xercesc/util/XMLBigDecimal.hpp @@ -123,7 +123,7 @@ private: void cleanUp(); // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- XMLBigDecimal(const XMLBigDecimal& other); XMLBigDecimal& operator=(const XMLBigDecimal& other); @@ -135,7 +135,7 @@ private: // sign // // fTotalDigits - // the total number of didits + // the total number of digits // // fScale // the number of digits to the right of the decimal point diff --git a/src/xercesc/util/XMLBigInteger.hpp b/src/xercesc/util/XMLBigInteger.hpp index ad13b102c..f49577fb2 100644 --- a/src/xercesc/util/XMLBigInteger.hpp +++ b/src/xercesc/util/XMLBigInteger.hpp @@ -83,9 +83,9 @@ public: unsigned int getTotalDigit() const; /** - * Return a copy of the fMagnitue. + * Return a copy of the fMagnitude. * This is similar to toString, except the internal buffer is returned directly - * Caller is not required to delet the returned memory. + * Caller is not required to delete the returned memory. */ inline XMLCh* getRawData() const; diff --git a/src/xercesc/util/XMLChar.hpp b/src/xercesc/util/XMLChar.hpp index 2bf9c9d55..4e2d3f13d 100644 --- a/src/xercesc/util/XMLChar.hpp +++ b/src/xercesc/util/XMLChar.hpp @@ -135,7 +135,7 @@ private: // code and then hard coded into the cpp file for speed. // // fNEL - // Flag to respresents whether NEL and LSEP newline recognition is enabled + // Flag to represents whether NEL and LSEP newline recognition is enabled // or disabled // ----------------------------------------------------------------------- static XMLByte fgCharCharsTable1_0[0x10000]; diff --git a/src/xercesc/util/XMLDateTime.cpp b/src/xercesc/util/XMLDateTime.cpp index 789ad821c..a45b8f93f 100644 --- a/src/xercesc/util/XMLDateTime.cpp +++ b/src/xercesc/util/XMLDateTime.cpp @@ -404,11 +404,11 @@ int XMLDateTime::compareOrder(const XMLDateTime* const lValue if ( lTemp.fHasTime) { - if ( lTemp.fMiliSecond < rTemp.fMiliSecond ) + if ( lTemp.fMilliSecond < rTemp.fMilliSecond ) { return LESS_THAN; } - else if ( lTemp.fMiliSecond > rTemp.fMiliSecond ) + else if ( lTemp.fMilliSecond > rTemp.fMilliSecond ) { return GREATER_THAN; } @@ -430,7 +430,7 @@ XMLDateTime::XMLDateTime(MemoryManager* const manager) : fStart(0) , fEnd(0) , fBufferMaxLen(0) -, fMiliSecond(0) +, fMilliSecond(0) , fHasTime(false) , fBuffer(0) , fMemoryManager(manager) @@ -443,7 +443,7 @@ XMLDateTime::XMLDateTime(const XMLCh* const aString, : fStart(0) , fEnd(0) , fBufferMaxLen(0) -, fMiliSecond(0) +, fMilliSecond(0) , fHasTime(false) , fBuffer(0) , fMemoryManager(manager) @@ -924,7 +924,7 @@ void XMLDateTime::parseDuration() } fValue[Second] = negate * parseInt(fStart, mlsec); - fMiliSecond = negate * parseMiliSecond(mlsec+1, end); + fMilliSecond = negate * parseMiliSecond(mlsec+1, end); } else { @@ -1060,12 +1060,12 @@ void XMLDateTime::getTime() if ( sign == NOT_FOUND ) { - fMiliSecond = parseMiliSecond(fStart, fEnd); //get ms between '.' and fEnd + fMilliSecond = parseMiliSecond(fStart, fEnd); //get ms between '.' and fEnd fStart = fEnd; } else { - fMiliSecond = parseMiliSecond(fStart, sign); //get ms between UTC sign and fEnd + fMilliSecond = parseMiliSecond(fStart, sign); //get ms between UTC sign and fEnd } } else if(sign == 0 || XMLSize_t (sign) != fStart) @@ -1331,7 +1331,7 @@ void XMLDateTime::validateDateTime() const (fValue[Hour] > 24) || ((fValue[Hour] == 24) && ((fValue[Minute] !=0) || (fValue[Second] !=0) || - (fMiliSecond !=0)))) + (fMilliSecond !=0)))) { ThrowXMLwithMemMgr1(SchemaDateTimeException , XMLExcepts::DateTime_hour_invalid diff --git a/src/xercesc/util/XMLDateTime.hpp b/src/xercesc/util/XMLDateTime.hpp index f58a997e0..c0bb16fbb 100644 --- a/src/xercesc/util/XMLDateTime.hpp +++ b/src/xercesc/util/XMLDateTime.hpp @@ -260,7 +260,7 @@ private: XMLSize_t fEnd; XMLSize_t fBufferMaxLen; - double fMiliSecond; + double fMilliSecond; bool fHasTime; XMLCh* fBuffer; @@ -300,7 +300,7 @@ inline void XMLDateTime::reset() for ( int i=0; i < TOTAL_SIZE; i++ ) fValue[i] = 0; - fMiliSecond = 0; + fMilliSecond = 0; fHasTime = false; fTimeZone[hh] = fTimeZone[mm] = 0; fStart = fEnd = 0; @@ -314,7 +314,7 @@ inline void XMLDateTime::copy(const XMLDateTime& rhs) for ( int i = 0; i < TOTAL_SIZE; i++ ) fValue[i] = rhs.fValue[i]; - fMiliSecond = rhs.fMiliSecond; + fMilliSecond = rhs.fMilliSecond; fHasTime = rhs.fHasTime; fTimeZone[hh] = rhs.fTimeZone[hh]; fTimeZone[mm] = rhs.fTimeZone[mm]; diff --git a/src/xercesc/util/XMLEBCDICTranscoder.hpp b/src/xercesc/util/XMLEBCDICTranscoder.hpp index 792ddec8d..70153d246 100644 --- a/src/xercesc/util/XMLEBCDICTranscoder.hpp +++ b/src/xercesc/util/XMLEBCDICTranscoder.hpp @@ -31,7 +31,7 @@ XERCES_CPP_NAMESPACE_BEGIN // This class provides an implementation of the XMLTranscoder interface // for a simple EBCDIC-US transcoder. The parser does some encodings // intrinsically without depending upon external transcoding services. -// To make everything more orthagonal, we implement these internal +// To make everything more orthogonal, we implement these internal // transcoders using the same transcoder abstraction as the pluggable // transcoding services do. // diff --git a/src/xercesc/util/XMLExceptMsgs.hpp b/src/xercesc/util/XMLExceptMsgs.hpp index d28c35393..fcefba7be 100644 --- a/src/xercesc/util/XMLExceptMsgs.hpp +++ b/src/xercesc/util/XMLExceptMsgs.hpp @@ -106,7 +106,7 @@ public : , UTF8_Invalid_3BytesSeq = 90 , UTF8_Irregular_3BytesSeq = 91 , UTF8_Invalid_4BytesSeq = 92 - , UTF8_Exceede_BytesLimit = 93 + , UTF8_Exceeds_BytesLimit = 93 , Vector_BadIndex = 94 , Val_InvalidElemId = 95 , Val_CantHaveIntSS = 96 diff --git a/src/xercesc/util/XMLIBM1047Transcoder.hpp b/src/xercesc/util/XMLIBM1047Transcoder.hpp index bc282c3c6..25393eec0 100644 --- a/src/xercesc/util/XMLIBM1047Transcoder.hpp +++ b/src/xercesc/util/XMLIBM1047Transcoder.hpp @@ -31,7 +31,7 @@ XERCES_CPP_NAMESPACE_BEGIN // This class provides an implementation of the XMLTranscoder interface // for a simple 1047-US transcoder. The parser does some encodings // intrinsically without depending upon external transcoding services. -// To make everything more orthagonal, we implement these internal +// To make everything more orthogonal, we implement these internal // transcoders using the same transcoder abstraction as the pluggable // transcoding services do. // diff --git a/src/xercesc/util/XMLIBM1140Transcoder.hpp b/src/xercesc/util/XMLIBM1140Transcoder.hpp index 72aec4cab..95384dba2 100644 --- a/src/xercesc/util/XMLIBM1140Transcoder.hpp +++ b/src/xercesc/util/XMLIBM1140Transcoder.hpp @@ -29,9 +29,9 @@ XERCES_CPP_NAMESPACE_BEGIN // // This class provides an implementation of the XMLTranscoder interface -// for a simple ibm-1140 transcoder. The parser does some encodings +// for a simple IBM-1140 transcoder. The parser does some encodings // intrinsically without depending upon external transcoding services. -// To make everything more orthagonal, we implement these internal +// To make everything more orthogonal, we implement these internal // transcoders using the same transcoder abstraction as the pluggable // transcoding services do. // diff --git a/src/xercesc/util/XMLMsgLoader.hpp b/src/xercesc/util/XMLMsgLoader.hpp index 1adb3a299..67b98528a 100644 --- a/src/xercesc/util/XMLMsgLoader.hpp +++ b/src/xercesc/util/XMLMsgLoader.hpp @@ -103,7 +103,7 @@ public : * This function enables set the locale information which * all concrete message loaders shall refer to during instantiation. * - * Note: for detailed discussion, refer to PlatformUtils::initalize() + * Note: for detailed discussion, refer to PlatformUtils::initialize() */ static void setLocale(const char* const localeToAdopt); @@ -120,7 +120,7 @@ public : * This function enables set the NLSHome information which * all concrete message loaders shall refer to during instantiation. * - * Note: for detailed discussion, refer to PlatformUtils::initalize() + * Note: for detailed discussion, refer to PlatformUtils::initialize() */ static void setNLSHome(const char* const nlsHomeToAdopt); diff --git a/src/xercesc/util/XMLString.hpp b/src/xercesc/util/XMLString.hpp index 8ac6d653e..c47c16fb7 100644 --- a/src/xercesc/util/XMLString.hpp +++ b/src/xercesc/util/XMLString.hpp @@ -484,7 +484,7 @@ public: /** @name Search functions */ //@{ /** - * Provides the index of the first occurance of a character within a string + * Provides the index of the first occurrence of a character within a string * * @param toSearch The string to search * @param ch The character to search within the string @@ -494,7 +494,7 @@ public: static int indexOf(const char* const toSearch, const char ch); /** - * Provides the index of the first occurance of a character within a string + * Provides the index of the first occurrence of a character within a string * * @param toSearch The string to search * @param ch The character to search within the string @@ -504,7 +504,7 @@ public: static int indexOf(const XMLCh* const toSearch, const XMLCh ch); /** - * Provides the index of the first occurance of a character within a string + * Provides the index of the first occurrence of a character within a string * starting from a given index * * @param toSearch The string to search @@ -523,7 +523,7 @@ public: ); /** - * Provides the index of the first occurance of a character within a string + * Provides the index of the first occurrence of a character within a string * starting from a given index * * @param toSearch The string to search @@ -542,7 +542,7 @@ public: ); /** - * Provides the index of the last occurance of a character within a string + * Provides the index of the last occurrence of a character within a string * * @param toSearch The string to search * @param ch The character to search within the string @@ -552,7 +552,7 @@ public: static int lastIndexOf(const char* const toSearch, const char ch); /** - * Provides the index of the last occurance of a character within a string + * Provides the index of the last occurrence of a character within a string * * @param toSearch The string to search * @param ch The character to search within the string @@ -562,7 +562,7 @@ public: static int lastIndexOf(const XMLCh* const toSearch, const XMLCh ch); /** - * Provides the index of the last occurance of a character within a string + * Provides the index of the last occurrence of a character within a string * * @param ch The character to search within the string * @param toSearch The string to search @@ -578,7 +578,7 @@ public: ); /** - * Provides the index of the last occurance of a character within a string + * Provides the index of the last occurrence of a character within a string * starting backward from a given index * * @param toSearch The string to search @@ -597,7 +597,7 @@ public: ); /** - * Provides the index of the last occurance of a character within a string + * Provides the index of the last occurrence of a character within a string * starting backward from a given index * * @param toSearch The string to search @@ -790,7 +790,7 @@ public: ); - /** Tells if a string has any occurance of any character of another + /** Tells if a string has any occurrence of any character of another * string within itself * @param toSearch The string to be searched * @param searchList The string from which characters to be searched for are drawn @@ -804,7 +804,7 @@ public: , const XMLCh* const searchList ); - /** Tells if a string has any occurance of any character of another + /** Tells if a string has any occurrence of any character of another * string within itself * @param toSearch The string to be searched * @param searchList The string from which characters to be searched for are drawn @@ -1103,7 +1103,7 @@ public: /** * Converts a string of decimal chars to a binary value * - * Note that leading and trailng whitespace is legal and will be ignored + * Note that leading and trailing whitespace is legal and will be ignored * but the remainder must be all decimal digits. * * @param toConvert The string of digits to convert @@ -1121,7 +1121,7 @@ public: /** * Converts a string of decimal chars to a binary value * - * Note that leading and trailng whitespace is legal and will be ignored, + * Note that leading and trailing whitespace is legal and will be ignored, * * Only one and either of (+,-) after the leading whitespace, before * any other characters are allowed. @@ -1356,7 +1356,7 @@ public: /** Remove character * @param srcString The string * @param toRemove The character needs to be removed from the string - * @param dstBuffer The buffer containning the result + * @param dstBuffer The buffer containing the result */ static void removeChar(const XMLCh* const srcString , const XMLCh& toRemove diff --git a/src/xercesc/util/XMLStringTokenizer.hpp b/src/xercesc/util/XMLStringTokenizer.hpp index 19f87ae61..f948bf607 100644 --- a/src/xercesc/util/XMLStringTokenizer.hpp +++ b/src/xercesc/util/XMLStringTokenizer.hpp @@ -153,7 +153,7 @@ private: // The string to be parsed // // fDelimeters - // A set of delimeter characters + // A set of delimiter characters // // fTokens // A vector of the token strings diff --git a/src/xercesc/util/XMLUCS4Transcoder.hpp b/src/xercesc/util/XMLUCS4Transcoder.hpp index 331b1d344..2450f9ba8 100644 --- a/src/xercesc/util/XMLUCS4Transcoder.hpp +++ b/src/xercesc/util/XMLUCS4Transcoder.hpp @@ -31,7 +31,7 @@ XERCES_CPP_NAMESPACE_BEGIN // This class provides an implementation of the XMLTranscoder interface // for a simple UCS4 transcoder. The parser does some encodings // intrinsically without depending upon external transcoding services. -// To make everything more orthagonal, we implement these internal +// To make everything more orthogonal, we implement these internal // transcoders using the same transcoder abstraction as the pluggable // transcoding services do. // @@ -93,7 +93,7 @@ private : // Private data members // // fSwapped - // This tells us if our input is going to be in the same endianess + // This tells us if our input is going to be in the same endianness // as the local host or swapped. // ----------------------------------------------------------------------- bool fSwapped; diff --git a/src/xercesc/util/XMLUTF16Transcoder.hpp b/src/xercesc/util/XMLUTF16Transcoder.hpp index 7f7e7575d..a2478288e 100644 --- a/src/xercesc/util/XMLUTF16Transcoder.hpp +++ b/src/xercesc/util/XMLUTF16Transcoder.hpp @@ -32,7 +32,7 @@ XERCES_CPP_NAMESPACE_BEGIN // This class provides an implementation of the XMLTranscoder interface // for a simple UTF16 transcoder. The parser does some encodings // intrinsically without depending upon external transcoding services. -// To make everything more orthagonal, we implement these internal +// To make everything more orthogonal, we implement these internal // transcoders using the same transcoder abstraction as the pluggable // transcoding services do. // diff --git a/src/xercesc/util/XMLUTF8Transcoder.cpp b/src/xercesc/util/XMLUTF8Transcoder.cpp index 29ce8ab94..c78985860 100644 --- a/src/xercesc/util/XMLUTF8Transcoder.cpp +++ b/src/xercesc/util/XMLUTF8Transcoder.cpp @@ -347,7 +347,7 @@ XMLUTF8Transcoder::transcodeFrom(const XMLByte* const srcData char byte[2] = {*srcPtr,0}; ThrowXMLwithMemMgr2(UTFDataFormatException - , XMLExcepts::UTF8_Exceede_BytesLimit + , XMLExcepts::UTF8_Exceeds_BytesLimit , byte , len , getMemoryManager()); diff --git a/src/xercesc/util/XMLUTF8Transcoder.hpp b/src/xercesc/util/XMLUTF8Transcoder.hpp index 020509bbc..09ae3ad45 100644 --- a/src/xercesc/util/XMLUTF8Transcoder.hpp +++ b/src/xercesc/util/XMLUTF8Transcoder.hpp @@ -32,7 +32,7 @@ XERCES_CPP_NAMESPACE_BEGIN // This class provides an implementation of the XMLTranscoder interface // for a simple UTF8 transcoder. The parser does some encodings // intrinsically without depending upon external transcoding services. -// To make everything more orthagonal, we implement these internal +// To make everything more orthogonal, we implement these internal // transcoders using the same transcoder abstraction as the pluggable // transcoding services do. // diff --git a/src/xercesc/util/XMemory.hpp b/src/xercesc/util/XMemory.hpp index 6bb33da74..869ccce93 100644 --- a/src/xercesc/util/XMemory.hpp +++ b/src/xercesc/util/XMemory.hpp @@ -33,7 +33,7 @@ class MemoryManager; * This class makes it possible to override the C++ memory management by * adding new/delete operators to this base class. * - * This class is used in conjuction with the pluggable memory manager. It + * This class is used in conjunction with the pluggable memory manager. It * allows applications to control Xerces memory management. */ diff --git a/src/xercesc/util/XercesDefs.hpp b/src/xercesc/util/XercesDefs.hpp index 67d9e1d44..80712600d 100644 --- a/src/xercesc/util/XercesDefs.hpp +++ b/src/xercesc/util/XercesDefs.hpp @@ -87,7 +87,7 @@ typedef XMLUInt32 UCS4Ch; #endif // --------------------------------------------------------------------------- -// According to whether the compiler suports L"" type strings, we define +// According to whether the compiler supports L"" type strings, we define // the XMLStrL() macro one way or another. // --------------------------------------------------------------------------- #if defined(XERCES_LSTRSUPPORT) diff --git a/src/xercesc/util/XercesVersion.hpp b/src/xercesc/util/XercesVersion.hpp index 74839df15..fe63bcfb3 100644 --- a/src/xercesc/util/XercesVersion.hpp +++ b/src/xercesc/util/XercesVersion.hpp @@ -47,7 +47,7 @@ * * The macro XERCES_GRAMMAR_SERIALIZATION_LEVEL has been added so that during * development if users are using the latest code they can use the grammar - * serialization/desialization features. Whenever a change is made to the + * serialization/deserialization features. Whenever a change is made to the * serialization code this macro should be incremented. * * Xerces User Documentation: diff --git a/src/xercesc/util/regx/BMPattern.hpp b/src/xercesc/util/regx/BMPattern.hpp index d5b175d64..ea1b64a2f 100644 --- a/src/xercesc/util/regx/BMPattern.hpp +++ b/src/xercesc/util/regx/BMPattern.hpp @@ -40,7 +40,7 @@ public: //@{ /** - * This is the onstructor which takes the pattern information. A default + * This is the constructor which takes the pattern information. A default * shift table size is used. * * @param pattern The pattern to match against. diff --git a/src/xercesc/util/regx/Op.hpp b/src/xercesc/util/regx/Op.hpp index 4ad6797bb..426c535ac 100644 --- a/src/xercesc/util/regx/Op.hpp +++ b/src/xercesc/util/regx/Op.hpp @@ -157,7 +157,7 @@ public: void addElement(Op* const op); private: - // Private Data memebers + // Private Data members RefVectorOf<Op>* fBranches; // ----------------------------------------------------------------------- diff --git a/src/xercesc/validators/DTD/DTDAttDefList.hpp b/src/xercesc/validators/DTD/DTDAttDefList.hpp index c33138566..e034e215e 100644 --- a/src/xercesc/validators/DTD/DTDAttDefList.hpp +++ b/src/xercesc/validators/DTD/DTDAttDefList.hpp @@ -36,7 +36,7 @@ XERCES_CPP_NAMESPACE_BEGIN // // Since each validator can store attributes differently, this abstract // interface allows each validator to provide an implementation of this -// data strucure that works best for it. +// data structure that works best for it. // // For us, we just wrap the RefHashTableOf collection that the DTDElementDecl // class uses to store the attributes that belong to it. diff --git a/src/xercesc/validators/DTD/DTDElementDecl.hpp b/src/xercesc/validators/DTD/DTDElementDecl.hpp index 72d856da4..777950aef 100644 --- a/src/xercesc/validators/DTD/DTDElementDecl.hpp +++ b/src/xercesc/validators/DTD/DTDElementDecl.hpp @@ -36,7 +36,7 @@ class DTDAttDefList; // // This class is a derivative of the basic element decl. This one implements -// the virtuals so that they work for a DTD. THe big difference is that +// the virtuals so that they work for a DTD. The big difference is that // they don't live in any URL in the DTD. The names are just stored as full // QNames, so they are not split out and element decls don't live within // URL namespaces or anything like that. diff --git a/src/xercesc/validators/common/ContentSpecNode.hpp b/src/xercesc/validators/common/ContentSpecNode.hpp index 38efbd4ea..29b9be65f 100644 --- a/src/xercesc/validators/common/ContentSpecNode.hpp +++ b/src/xercesc/validators/common/ContentSpecNode.hpp @@ -161,7 +161,7 @@ private : // fFirst // fSecond // The optional first and second nodes. The fType field indicates - // which of these are valid. The validaty constraints are: + // which of these are valid. The validity constraints are: // // Leaf = Neither valid // ZeroOrOne, ZeroOrMore = First diff --git a/src/xercesc/validators/common/GrammarResolver.hpp b/src/xercesc/validators/common/GrammarResolver.hpp index f1811a04f..eb4b3587b 100644 --- a/src/xercesc/validators/common/GrammarResolver.hpp +++ b/src/xercesc/validators/common/GrammarResolver.hpp @@ -216,7 +216,7 @@ private: // // fGrammarPool The Grammar Set either plugged or created. // - // fDataTypeReg DatatypeValidatorFactory registery + // fDataTypeReg DatatypeValidatorFactory registry // // fMemoryManager Pluggable memory manager for dynamic memory // allocation/deallocation diff --git a/src/xercesc/validators/datatype/DatatypeValidator.hpp b/src/xercesc/validators/datatype/DatatypeValidator.hpp index 26c0c2125..185392299 100644 --- a/src/xercesc/validators/datatype/DatatypeValidator.hpp +++ b/src/xercesc/validators/datatype/DatatypeValidator.hpp @@ -220,7 +220,7 @@ public: * if no memory manager is provided. * * 2. client application is responsible for the - * proper deallcation of the memory allocated + * proper deallocation of the memory allocated * for the returned value. * * 3. In the case where the rawData is not valid @@ -346,7 +346,7 @@ public: /*** * - * Serialzie DatatypeValidator derivative + * Serialize DatatypeValidator derivative * * Param * serEng: serialize engine diff --git a/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp b/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp index 3fceedc5b..a2453e988 100644 --- a/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp +++ b/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp @@ -538,33 +538,33 @@ void DatatypeValidatorFactory::initCanRepRegistory() new XMLCanRepGroup(XMLCanRepGroup::Decimal)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_INTEGER), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_signed)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_signed)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_LONG), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_signed)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_signed)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_INT), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_signed)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_signed)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_SHORT), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_signed)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_signed)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_BYTE), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_signed)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_signed)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_NONNEGATIVEINTEGER), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_signed)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_signed)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_POSITIVEINTEGER), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_signed)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_signed)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_NEGATIVEINTEGER), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_unsigned)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_unsigned)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_ULONG), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_unsigned)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_unsigned)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_UINT), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_unsigned)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_unsigned)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_USHORT), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_unsigned)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_unsigned)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_UBYTE), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_unsigned)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_unsigned)); fCanRepRegistry->put((void*) getDatatypeValidator(SchemaSymbols::fgDT_NONPOSITIVEINTEGER), - new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derivated_npi)); + new XMLCanRepGroup(XMLCanRepGroup::Decimal_Derived_npi)); } /*** diff --git a/src/xercesc/validators/datatype/DatatypeValidatorFactory.hpp b/src/xercesc/validators/datatype/DatatypeValidatorFactory.hpp index 68c572cbe..172a2f194 100644 --- a/src/xercesc/validators/datatype/DatatypeValidatorFactory.hpp +++ b/src/xercesc/validators/datatype/DatatypeValidatorFactory.hpp @@ -33,11 +33,11 @@ * 9 validators) get initialized in the registry. * The initialization process consist of instantiating the Datatype and * facets and registering the Datatype into registry table. - * This implementation uses a Hahtable as a registry. The datatype validators created + * This implementation uses a Hashtable as a registry. The datatype validators created * by the factory will be deleted by the registry. * * As the Parser parses an instance document it knows if validation needs - * to be checked. If no validation is necesary we should not instantiate a + * to be checked. If no validation is necessary we should not instantiate a * DatatypeValidatorFactory. * If validation is needed, we need to instantiate a DatatypeValidatorFactory. */ diff --git a/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp b/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp index 8722d970e..bf1da8bf4 100644 --- a/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp +++ b/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp @@ -5,9 +5,9 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -363,7 +363,7 @@ void DecimalDatatypeValidator::setEnumeration(MemoryManager* const manager) } } #if 0 -// spec says that only base has to checkContent +// spec says that only base has to checkContent // We put the this->checkContent in a separate loop // to not block original message with in that method. // @@ -377,7 +377,7 @@ void DecimalDatatypeValidator::setEnumeration(MemoryManager* const manager) for ( i = 0; i < enumLength; i++) { - fEnumeration->insertElementAt(new (manager) XMLBigDecimal(fStrEnumeration->elementAt(i), manager), i); + fEnumeration->insertElementAt(new (manager) XMLBigDecimal(fStrEnumeration->elementAt(i), manager), i); } } @@ -416,8 +416,8 @@ void DecimalDatatypeValidator::checkContent(const XMLCh* const conte return; XMLBigDecimal compareDataValue(content, manager); - XMLBigDecimal* compareData = &compareDataValue; - + XMLBigDecimal* compareData = &compareDataValue; + if (getEnumeration()) { XMLSize_t i=0; @@ -437,7 +437,7 @@ void DecimalDatatypeValidator::checkContent(const XMLCh* const conte if ( (thisFacetsDefined & DatatypeValidator::FACET_FRACTIONDIGITS) != 0 ) { if ( compareData->getScale() > fFractionDigits ) - { + { XMLCh value1[BUF_LEN+1]; XMLCh value2[BUF_LEN+1]; XMLString::binToText(compareData->getScale(), value1, BUF_LEN, 10, manager); @@ -454,7 +454,7 @@ void DecimalDatatypeValidator::checkContent(const XMLCh* const conte if ( (thisFacetsDefined & DatatypeValidator::FACET_TOTALDIGITS) != 0 ) { if ( compareData->getTotalDigit() > fTotalDigits ) - { + { XMLCh value1[BUF_LEN+1]; XMLCh value2[BUF_LEN+1]; XMLString::binToText(compareData->getTotalDigit(), value1, BUF_LEN, 10, manager); @@ -473,8 +473,8 @@ void DecimalDatatypeValidator::checkContent(const XMLCh* const conte where i and n are integers such that |i| < 10^totalDigits and 0 <= n <= totalDigits. ***/ - if ( compareData->getScale() > fTotalDigits ) - { + if ( compareData->getScale() > fTotalDigits ) + { XMLCh value1[BUF_LEN+1]; XMLCh value2[BUF_LEN+1]; XMLString::binToText(compareData->getScale(), value1, BUF_LEN, 10, manager); @@ -485,37 +485,37 @@ void DecimalDatatypeValidator::checkContent(const XMLCh* const conte , value1 , value2 , manager); - } + } } } /*** - * 3.2.3 decimal + * 3.2.3 decimal * - * . the preceding optional "+" sign is prohibited. - * . The decimal point is required. - * . Leading and trailing zeroes are prohibited subject to the following: + * . the preceding optional "+" sign is prohibited. + * . The decimal point is required. + * . Leading and trailing zeroes are prohibited subject to the following: * there must be at least one digit to the right and to the left of the decimal point which may be a zero. * * * 3.3.13 integer * 3.3.16 long * 3.3.17 int - * 3.3.18 short + * 3.3.18 short * 3.3.19 byte * 3.3.20 nonNegativeInteger * 3.3.25 positiveInteger * * . the preceding optional "+" sign is prohibited and * . leading zeroes are prohibited. - * + * * * E2-27 * 3.3.14 nonPositiveInteger * - * . In the canonical form for zero, the sign must be omitted. + * . In the canonical form for zero, the sign must be omitted. * . leading zeroes are prohibited. - * + * * 3.3.15 negativeInteger * 3.3.21 unsignedLong * 3.3.22 unsignedInt @@ -523,7 +523,7 @@ void DecimalDatatypeValidator::checkContent(const XMLCh* const conte * 3.3.24 unsignedByte * * . leading zeroes are prohibited. - * + * * Summary: * . leading zeros are prohibited for all three groups * . '-' is required for nonPositiveInteger if it is zero @@ -541,7 +541,7 @@ const XMLCh* DecimalDatatypeValidator::getCanonicalRepresentation(const XMLCh* { try { - temp->checkContent(rawData, 0, false, toUse); + temp->checkContent(rawData, 0, false, toUse); } catch (...) { @@ -553,13 +553,13 @@ const XMLCh* DecimalDatatypeValidator::getCanonicalRepresentation(const XMLCh* // XMLBigDecimal::getCanonicalRepresentation will handle exceptional cases XMLCanRepGroup::CanRepGroup dvType = DatatypeValidatorFactory::getCanRepGroup(temp); - if ((dvType == XMLCanRepGroup::Decimal_Derivated_signed) || - (dvType == XMLCanRepGroup::Decimal_Derivated_unsigned) || - (dvType == XMLCanRepGroup::Decimal_Derivated_npi) ) - { - return XMLBigInteger::getCanonicalRepresentation(rawData, toUse, dvType == XMLCanRepGroup::Decimal_Derivated_npi); + if ((dvType == XMLCanRepGroup::Decimal_Derived_signed) || + (dvType == XMLCanRepGroup::Decimal_Derived_unsigned) || + (dvType == XMLCanRepGroup::Decimal_Derived_npi) ) + { + return XMLBigInteger::getCanonicalRepresentation(rawData, toUse, dvType == XMLCanRepGroup::Decimal_Derived_npi); } - else if (dvType == XMLCanRepGroup::Decimal) + else if (dvType == XMLCanRepGroup::Decimal) { return XMLBigDecimal::getCanonicalRepresentation(rawData, toUse); } @@ -579,7 +579,7 @@ IMPL_XSERIALIZABLE_TOCREATE(DecimalDatatypeValidator) void DecimalDatatypeValidator::serialize(XSerializeEngine& serEng) { /*** - * Note: + * Note: * * During storing, we need write the specific number * type info before calling base::serialize(). @@ -594,7 +594,7 @@ void DecimalDatatypeValidator::serialize(XSerializeEngine& serEng) AbstractNumericValidator::serialize(serEng); - //don't serialize XMLBigDecimal* + //don't serialize XMLBigDecimal* if (serEng.isStoring()) { serEng<<fTotalDigits; diff --git a/src/xercesc/validators/datatype/ListDatatypeValidator.hpp b/src/xercesc/validators/datatype/ListDatatypeValidator.hpp index 8ef1fa1cb..9d696cc00 100644 --- a/src/xercesc/validators/datatype/ListDatatypeValidator.hpp +++ b/src/xercesc/validators/datatype/ListDatatypeValidator.hpp @@ -189,7 +189,7 @@ private: // Private data members // // fContent - // temporary var referenceing the content to be validated, + // temporary var referencing the content to be validated, // for error reporting purpose. // // ----------------------------------------------------------------------- diff --git a/src/xercesc/validators/datatype/XMLCanRepGroup.hpp b/src/xercesc/validators/datatype/XMLCanRepGroup.hpp index d75ea10c3..66c56bd9e 100644 --- a/src/xercesc/validators/datatype/XMLCanRepGroup.hpp +++ b/src/xercesc/validators/datatype/XMLCanRepGroup.hpp @@ -36,9 +36,9 @@ public: DateTime, Time, Decimal, - Decimal_Derivated_signed, - Decimal_Derivated_unsigned, - Decimal_Derivated_npi, + Decimal_Derived_signed, + Decimal_Derived_unsigned, + Decimal_Derived_npi, String }; diff --git a/src/xercesc/validators/schema/ComplexTypeInfo.hpp b/src/xercesc/validators/schema/ComplexTypeInfo.hpp index 1e04efbef..5cd78ed5a 100644 --- a/src/xercesc/validators/schema/ComplexTypeInfo.hpp +++ b/src/xercesc/validators/schema/ComplexTypeInfo.hpp @@ -161,7 +161,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- ComplexTypeInfo(const ComplexTypeInfo& elemInfo); ComplexTypeInfo& operator= (const ComplexTypeInfo& other); diff --git a/src/xercesc/validators/schema/PSVIDefs.hpp b/src/xercesc/validators/schema/PSVIDefs.hpp index 3cf140fd2..4a66f8c1d 100644 --- a/src/xercesc/validators/schema/PSVIDefs.hpp +++ b/src/xercesc/validators/schema/PSVIDefs.hpp @@ -30,7 +30,7 @@ public: enum PSVIScope { SCP_ABSENT // declared in group/attribute group - , SCP_GLOBAL // global decalarion or ref + , SCP_GLOBAL // global declaration or ref , SCP_LOCAL // local declaration }; }; diff --git a/src/xercesc/validators/schema/SchemaElementDecl.hpp b/src/xercesc/validators/schema/SchemaElementDecl.hpp index 56d0e3857..f746cf65f 100644 --- a/src/xercesc/validators/schema/SchemaElementDecl.hpp +++ b/src/xercesc/validators/schema/SchemaElementDecl.hpp @@ -178,7 +178,7 @@ private : // Stores 'abstract/nullable' values // // fDefaultValue - // The defalut/fixed value + // The default/fixed value // // fComplexTypeInfo // Stores complex type information diff --git a/src/xercesc/validators/schema/SchemaValidator.hpp b/src/xercesc/validators/schema/SchemaValidator.hpp index 82d04943c..51b14f789 100644 --- a/src/xercesc/validators/schema/SchemaValidator.hpp +++ b/src/xercesc/validators/schema/SchemaValidator.hpp @@ -146,7 +146,7 @@ private: SchemaValidator& operator=(const SchemaValidator&); // ----------------------------------------------------------------------- - // Element Consitency Checking methods + // Element Consistency Checking methods // ----------------------------------------------------------------------- void checkRefElementConsistency(SchemaGrammar* const currentGrammar, const ComplexTypeInfo* const curTypeInfo, diff --git a/src/xercesc/validators/schema/SubstitutionGroupComparator.hpp b/src/xercesc/validators/schema/SubstitutionGroupComparator.hpp index 8d7f82d5b..3c04c6c76 100644 --- a/src/xercesc/validators/schema/SubstitutionGroupComparator.hpp +++ b/src/xercesc/validators/schema/SubstitutionGroupComparator.hpp @@ -63,11 +63,11 @@ public: //@{ /** - * Checks that the "anElement" is within the subsitution group. + * Checks that the "anElement" is within the substitution group. * * @param anElement QName of the element * - * @param exeplar QName of the head element in the group + * @param exemplar QName of the head element in the group */ bool isEquivalentTo(const QName* const anElement , const QName* const exemplar); diff --git a/src/xercesc/validators/schema/TraverseSchema.hpp b/src/xercesc/validators/schema/TraverseSchema.hpp index 9e5d16f20..deec07ebb 100644 --- a/src/xercesc/validators/schema/TraverseSchema.hpp +++ b/src/xercesc/validators/schema/TraverseSchema.hpp @@ -246,7 +246,7 @@ private: void addImportedNS(const int namespaceURI); /** - * Retrived the Namespace mapping from the schema element + * Retrieved the Namespace mapping from the schema element */ bool retrieveNamespaceMapping(const DOMElement* const elem); diff --git a/src/xercesc/validators/schema/XSDDOMParser.hpp b/src/xercesc/validators/schema/XSDDOMParser.hpp index bf31c5446..43cf11cc8 100644 --- a/src/xercesc/validators/schema/XSDDOMParser.hpp +++ b/src/xercesc/validators/schema/XSDDOMParser.hpp @@ -41,7 +41,7 @@ class PARSERS_EXPORT XSDDOMParser : public XercesDOMParser public : // ----------------------------------------------------------------------- - // Constructors and Detructor + // Constructors and Destructor // ----------------------------------------------------------------------- /** @name Constructors and Destructor */ diff --git a/src/xercesc/validators/schema/XercesAttGroupInfo.hpp b/src/xercesc/validators/schema/XercesAttGroupInfo.hpp index d33503650..93b7ea746 100644 --- a/src/xercesc/validators/schema/XercesAttGroupInfo.hpp +++ b/src/xercesc/validators/schema/XercesAttGroupInfo.hpp @@ -90,7 +90,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- XercesAttGroupInfo(const XercesAttGroupInfo& elemInfo); XercesAttGroupInfo& operator= (const XercesAttGroupInfo& other); diff --git a/src/xercesc/validators/schema/XercesGroupInfo.hpp b/src/xercesc/validators/schema/XercesGroupInfo.hpp index b35aebdea..3cd105860 100644 --- a/src/xercesc/validators/schema/XercesGroupInfo.hpp +++ b/src/xercesc/validators/schema/XercesGroupInfo.hpp @@ -92,7 +92,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- XercesGroupInfo(const XercesGroupInfo& elemInfo); XercesGroupInfo& operator= (const XercesGroupInfo& other); diff --git a/src/xercesc/validators/schema/identity/IC_Field.hpp b/src/xercesc/validators/schema/identity/IC_Field.hpp index bef704c97..ccb4e8219 100644 --- a/src/xercesc/validators/schema/identity/IC_Field.hpp +++ b/src/xercesc/validators/schema/identity/IC_Field.hpp @@ -80,7 +80,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- IC_Field(const IC_Field& other); IC_Field& operator= (const IC_Field& other); @@ -124,7 +124,7 @@ private: MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager); // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- FieldMatcher(const FieldMatcher& other); FieldMatcher& operator= (const FieldMatcher& other); diff --git a/src/xercesc/validators/schema/identity/IC_Key.hpp b/src/xercesc/validators/schema/identity/IC_Key.hpp index 383df05f1..8d476bc9b 100644 --- a/src/xercesc/validators/schema/identity/IC_Key.hpp +++ b/src/xercesc/validators/schema/identity/IC_Key.hpp @@ -55,7 +55,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- IC_Key(const IC_Key& other); IC_Key& operator= (const IC_Key& other); diff --git a/src/xercesc/validators/schema/identity/IC_KeyRef.hpp b/src/xercesc/validators/schema/identity/IC_KeyRef.hpp index 31cf2ed19..cdc8b1ad0 100644 --- a/src/xercesc/validators/schema/identity/IC_KeyRef.hpp +++ b/src/xercesc/validators/schema/identity/IC_KeyRef.hpp @@ -57,7 +57,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- IC_KeyRef(const IC_KeyRef& other); IC_KeyRef& operator= (const IC_KeyRef& other); diff --git a/src/xercesc/validators/schema/identity/IC_Selector.hpp b/src/xercesc/validators/schema/identity/IC_Selector.hpp index 46784bff4..8744c177d 100644 --- a/src/xercesc/validators/schema/identity/IC_Selector.hpp +++ b/src/xercesc/validators/schema/identity/IC_Selector.hpp @@ -76,7 +76,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- IC_Selector(const IC_Selector& other); IC_Selector& operator= (const IC_Selector& other); @@ -125,7 +125,7 @@ private: MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager); // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- SelectorMatcher(const SelectorMatcher& other); SelectorMatcher& operator= (const SelectorMatcher& other); diff --git a/src/xercesc/validators/schema/identity/IC_Unique.hpp b/src/xercesc/validators/schema/identity/IC_Unique.hpp index 9a185b8e7..267fb2896 100644 --- a/src/xercesc/validators/schema/identity/IC_Unique.hpp +++ b/src/xercesc/validators/schema/identity/IC_Unique.hpp @@ -59,7 +59,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- IC_Unique(const IC_Unique& other); IC_Unique& operator= (const IC_Unique& other); diff --git a/src/xercesc/validators/schema/identity/IdentityConstraint.hpp b/src/xercesc/validators/schema/identity/IdentityConstraint.hpp index 467941c7c..f0c18597f 100644 --- a/src/xercesc/validators/schema/identity/IdentityConstraint.hpp +++ b/src/xercesc/validators/schema/identity/IdentityConstraint.hpp @@ -109,7 +109,7 @@ protected: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- IdentityConstraint(const IdentityConstraint& other); IdentityConstraint& operator= (const IdentityConstraint& other); diff --git a/src/xercesc/validators/schema/identity/IdentityConstraintHandler.hpp b/src/xercesc/validators/schema/identity/IdentityConstraintHandler.hpp index b58fc544a..75eb2c26d 100644 --- a/src/xercesc/validators/schema/identity/IdentityConstraintHandler.hpp +++ b/src/xercesc/validators/schema/identity/IdentityConstraintHandler.hpp @@ -89,7 +89,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- IdentityConstraintHandler(const IdentityConstraintHandler& other); IdentityConstraintHandler& operator= (const IdentityConstraintHandler& other); diff --git a/src/xercesc/validators/schema/identity/ValueStore.hpp b/src/xercesc/validators/schema/identity/ValueStore.hpp index bffc06164..9dda3e99a 100644 --- a/src/xercesc/validators/schema/identity/ValueStore.hpp +++ b/src/xercesc/validators/schema/identity/ValueStore.hpp @@ -111,7 +111,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- ValueStore(const ValueStore& other); ValueStore& operator= (const ValueStore& other); diff --git a/src/xercesc/validators/schema/identity/ValueStoreCache.hpp b/src/xercesc/validators/schema/identity/ValueStoreCache.hpp index ccff12d51..cf02064d8 100644 --- a/src/xercesc/validators/schema/identity/ValueStoreCache.hpp +++ b/src/xercesc/validators/schema/identity/ValueStoreCache.hpp @@ -53,7 +53,7 @@ XERCES_CPP_NAMESPACE_BEGIN // --------------------------------------------------------------------------- -// Forward Declcaration +// Forward Declaration // --------------------------------------------------------------------------- class ValueStore; class SchemaElementDecl; @@ -92,7 +92,7 @@ public: // Access methods // ----------------------------------------------------------------------- ValueStore* getValueStoreFor(const IC_Field* const field, const int initialDepth); - ValueStore* getValueStoreFor(const IdentityConstraint* const ic, const int intialDepth); + ValueStore* getValueStoreFor(const IdentityConstraint* const ic, const int initialDepth); ValueStore* getGlobalValueStoreFor(const IdentityConstraint* const ic); // ----------------------------------------------------------------------- @@ -106,7 +106,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- ValueStoreCache(const ValueStoreCache& other); ValueStoreCache& operator= (const ValueStoreCache& other); diff --git a/src/xercesc/validators/schema/identity/XPathMatcherStack.hpp b/src/xercesc/validators/schema/identity/XPathMatcherStack.hpp index 07d9812f7..46561f327 100644 --- a/src/xercesc/validators/schema/identity/XPathMatcherStack.hpp +++ b/src/xercesc/validators/schema/identity/XPathMatcherStack.hpp @@ -69,7 +69,7 @@ private: void cleanUp(); // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- XPathMatcherStack(const XPathMatcherStack& other); XPathMatcherStack& operator= (const XPathMatcherStack& other); diff --git a/src/xercesc/validators/schema/identity/XercesXPath.hpp b/src/xercesc/validators/schema/identity/XercesXPath.hpp index 8d47d2b6e..d93cfd20c 100644 --- a/src/xercesc/validators/schema/identity/XercesXPath.hpp +++ b/src/xercesc/validators/schema/identity/XercesXPath.hpp @@ -180,7 +180,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- XercesLocationPath(const XercesLocationPath& other); XercesLocationPath& operator= (const XercesLocationPath& other); @@ -288,7 +288,7 @@ public: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- XercesXPath(const XercesXPath& other); XercesXPath& operator= (const XercesXPath& other); @@ -373,7 +373,7 @@ protected: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- XPathScanner(const XPathScanner& other); XPathScanner& operator= (const XPathScanner& other); @@ -438,7 +438,7 @@ protected: private: // ----------------------------------------------------------------------- - // Unimplemented contstructors and operators + // Unimplemented constructors and operators // ----------------------------------------------------------------------- XPathScannerForSchema(const XPathScannerForSchema& other); XPathScannerForSchema& operator= (const XPathScannerForSchema& other); -- GitLab