You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by bo...@apache.org on 2010/04/11 15:10:13 UTC
svn commit: r932889 [2/3] - in /xerces/c/trunk/src/xercesc: NLS/EN_US/ dom/
dom/impl/ framework/ framework/psvi/ internal/ parsers/ sax/ sax2/ util/
util/MsgLoaders/ICU/ util/NetAccessors/ util/Transcoders/ICU/
util/Transcoders/IconvGNU/ util/Transcode...
Modified: xerces/c/trunk/src/xercesc/sax2/ContentHandler.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/sax2/ContentHandler.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/sax2/ContentHandler.hpp (original)
+++ xerces/c/trunk/src/xercesc/sax2/ContentHandler.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/sax2/DeclHandler.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/sax2/DeclHandler.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/sax2/DeclHandler.hpp (original)
+++ xerces/c/trunk/src/xercesc/sax2/DeclHandler.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/sax2/DefaultHandler.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/sax2/DefaultHandler.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/sax2/DefaultHandler.hpp (original)
+++ xerces/c/trunk/src/xercesc/sax2/DefaultHandler.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/sax2/LexicalHandler.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/sax2/LexicalHandler.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/sax2/LexicalHandler.hpp (original)
+++ xerces/c/trunk/src/xercesc/sax2/LexicalHandler.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/sax2/SAX2XMLReader.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/sax2/SAX2XMLReader.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/sax2/SAX2XMLReader.hpp (original)
+++ xerces/c/trunk/src/xercesc/sax2/SAX2XMLReader.hpp Sun Apr 11 13:10:10 2010
@@ -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.
*
Modified: xerces/c/trunk/src/xercesc/sax2/XMLReaderFactory.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/sax2/XMLReaderFactory.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/sax2/XMLReaderFactory.hpp (original)
+++ xerces/c/trunk/src/xercesc/sax2/XMLReaderFactory.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/util/Base64.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Base64.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Base64.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/Base64.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/util/HexBin.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/HexBin.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/HexBin.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/HexBin.hpp Sun Apr 11 13:10:10 2010
@@ -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
//
Modified: xerces/c/trunk/src/xercesc/util/LogicalPath.c
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/LogicalPath.c?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/LogicalPath.c (original)
+++ xerces/c/trunk/src/xercesc/util/LogicalPath.c Sun Apr 11 13:10:10 2010
@@ -98,8 +98,8 @@ XMLCh* XMLPlatformUtils::weavePaths(cons
//
// 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(cons
}
//
-// 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(XM
}
//
-// 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.
//
Modified: xerces/c/trunk/src/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/util/Mutexes.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Mutexes.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Mutexes.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/Mutexes.hpp Sun Apr 11 13:10:10 2010
@@ -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;
Modified: xerces/c/trunk/src/xercesc/util/NameIdPool.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/NameIdPool.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/NameIdPool.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/NameIdPool.hpp Sun Apr 11 13:10:10 2010
@@ -53,7 +53,7 @@ template <class TElem> class NameIdPoolE
// 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 :
// -----------------------------------------------------------------------
- // Contructors and Destructor
+ // Constructors and Destructor
// -----------------------------------------------------------------------
NameIdPool
(
Modified: xerces/c/trunk/src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/NetAccessors/BinHTTPInputStreamCommon.hpp Sun Apr 11 13:10:10 2010
@@ -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;
Modified: xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/PlatformUtils.hpp Sun Apr 11 13:10:10 2010
@@ -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);
Modified: xerces/c/trunk/src/xercesc/util/QName.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/QName.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/QName.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/QName.hpp Sun Apr 11 13:10:10 2010
@@ -35,7 +35,7 @@ class XMLUTIL_EXPORT QName : public XSer
{
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.
Modified: xerces/c/trunk/src/xercesc/util/RefArrayOf.c
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/RefArrayOf.c?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/RefArrayOf.c (original)
+++ xerces/c/trunk/src/xercesc/util/RefArrayOf.c Sun Apr 11 13:10:10 2010
@@ -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<T
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;
Modified: xerces/c/trunk/src/xercesc/util/RefArrayOf.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/RefArrayOf.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/RefArrayOf.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/RefArrayOf.hpp Sun Apr 11 13:10:10 2010
@@ -34,7 +34,7 @@ template <class TElem> class RefArrayOf
{
public :
// -----------------------------------------------------------------------
- // Contructors and Destructor
+ // Constructors and Destructor
// -----------------------------------------------------------------------
RefArrayOf
(
Modified: xerces/c/trunk/src/xercesc/util/StringPool.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/StringPool.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/StringPool.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/StringPool.hpp Sun Apr 11 13:10:10 2010
@@ -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);
Modified: xerces/c/trunk/src/xercesc/util/TransENameMap.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/TransENameMap.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/TransENameMap.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/TransENameMap.hpp Sun Apr 11 13:10:10 2010
@@ -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;
Modified: xerces/c/trunk/src/xercesc/util/TransService.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/TransService.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/TransService.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/TransService.hpp Sun Apr 11 13:10:10 2010
@@ -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 (
Modified: xerces/c/trunk/src/xercesc/util/Transcoders/ICU/ICUTransService.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Transcoders/ICU/ICUTransService.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Transcoders/ICU/ICUTransService.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/Transcoders/ICU/ICUTransService.hpp Sun Apr 11 13:10:10 2010
@@ -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.
// -----------------------------------------------------------------------
Modified: xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp Sun Apr 11 13:10:10 2010
@@ -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,
Modified: xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/util/ValueArrayOf.c
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/ValueArrayOf.c?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/ValueArrayOf.c (original)
+++ xerces/c/trunk/src/xercesc/util/ValueArrayOf.c Sun Apr 11 13:10:10 2010
@@ -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;
Modified: xerces/c/trunk/src/xercesc/util/ValueArrayOf.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/ValueArrayOf.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/ValueArrayOf.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/ValueArrayOf.hpp Sun Apr 11 13:10:10 2010
@@ -34,7 +34,7 @@ template <class TElem> class ValueArrayO
{
public :
// -----------------------------------------------------------------------
- // Contructors and Destructor
+ // Constructors and Destructor
// -----------------------------------------------------------------------
ValueArrayOf
(
Modified: xerces/c/trunk/src/xercesc/util/XML88591Transcoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XML88591Transcoder.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XML88591Transcoder.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XML88591Transcoder.hpp Sun Apr 11 13:10:10 2010
@@ -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.
//
Modified: xerces/c/trunk/src/xercesc/util/XMLASCIITranscoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLASCIITranscoder.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLASCIITranscoder.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLASCIITranscoder.hpp Sun Apr 11 13:10:10 2010
@@ -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.
//
Modified: xerces/c/trunk/src/xercesc/util/XMLBigDecimal.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLBigDecimal.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLBigDecimal.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLBigDecimal.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/util/XMLBigInteger.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLBigInteger.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLBigInteger.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLBigInteger.hpp Sun Apr 11 13:10:10 2010
@@ -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;
Modified: xerces/c/trunk/src/xercesc/util/XMLChar.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLChar.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLChar.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLChar.hpp Sun Apr 11 13:10:10 2010
@@ -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];
Modified: xerces/c/trunk/src/xercesc/util/XMLDateTime.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLDateTime.cpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLDateTime.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLDateTime.cpp Sun Apr 11 13:10:10 2010
@@ -404,11 +404,11 @@ int XMLDateTime::compareOrder(const XMLD
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*
: fStart(0)
, fEnd(0)
, fBufferMaxLen(0)
-, fMiliSecond(0)
+, fMilliSecond(0)
, fHasTime(false)
, fBuffer(0)
, fMemoryManager(manager)
@@ -443,7 +443,7 @@ XMLDateTime::XMLDateTime(const XMLCh* co
: 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() con
(fValue[Hour] > 24) ||
((fValue[Hour] == 24) && ((fValue[Minute] !=0) ||
(fValue[Second] !=0) ||
- (fMiliSecond !=0))))
+ (fMilliSecond !=0))))
{
ThrowXMLwithMemMgr1(SchemaDateTimeException
, XMLExcepts::DateTime_hour_invalid
Modified: xerces/c/trunk/src/xercesc/util/XMLDateTime.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLDateTime.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLDateTime.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLDateTime.hpp Sun Apr 11 13:10:10 2010
@@ -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 XMLD
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];
Modified: xerces/c/trunk/src/xercesc/util/XMLEBCDICTranscoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLEBCDICTranscoder.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLEBCDICTranscoder.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLEBCDICTranscoder.hpp Sun Apr 11 13:10:10 2010
@@ -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.
//
Modified: xerces/c/trunk/src/xercesc/util/XMLExceptMsgs.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLExceptMsgs.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLExceptMsgs.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLExceptMsgs.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/util/XMLIBM1047Transcoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLIBM1047Transcoder.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLIBM1047Transcoder.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLIBM1047Transcoder.hpp Sun Apr 11 13:10:10 2010
@@ -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.
//
Modified: xerces/c/trunk/src/xercesc/util/XMLIBM1140Transcoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLIBM1140Transcoder.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLIBM1140Transcoder.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLIBM1140Transcoder.hpp Sun Apr 11 13:10:10 2010
@@ -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.
//
Modified: xerces/c/trunk/src/xercesc/util/XMLMsgLoader.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLMsgLoader.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLMsgLoader.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLMsgLoader.hpp Sun Apr 11 13:10:10 2010
@@ -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);
Modified: xerces/c/trunk/src/xercesc/util/XMLString.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLString.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLString.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLString.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/util/XMLStringTokenizer.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLStringTokenizer.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLStringTokenizer.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLStringTokenizer.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/util/XMLUCS4Transcoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLUCS4Transcoder.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLUCS4Transcoder.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLUCS4Transcoder.hpp Sun Apr 11 13:10:10 2010
@@ -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;
Modified: xerces/c/trunk/src/xercesc/util/XMLUTF16Transcoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLUTF16Transcoder.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLUTF16Transcoder.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLUTF16Transcoder.hpp Sun Apr 11 13:10:10 2010
@@ -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.
//
Modified: xerces/c/trunk/src/xercesc/util/XMLUTF8Transcoder.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLUTF8Transcoder.cpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLUTF8Transcoder.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLUTF8Transcoder.cpp Sun Apr 11 13:10:10 2010
@@ -347,7 +347,7 @@ XMLUTF8Transcoder::transcodeFrom(const
char byte[2] = {*srcPtr,0};
ThrowXMLwithMemMgr2(UTFDataFormatException
- , XMLExcepts::UTF8_Exceede_BytesLimit
+ , XMLExcepts::UTF8_Exceeds_BytesLimit
, byte
, len
, getMemoryManager());
Modified: xerces/c/trunk/src/xercesc/util/XMLUTF8Transcoder.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMLUTF8Transcoder.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLUTF8Transcoder.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLUTF8Transcoder.hpp Sun Apr 11 13:10:10 2010
@@ -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.
//
Modified: xerces/c/trunk/src/xercesc/util/XMemory.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XMemory.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMemory.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMemory.hpp Sun Apr 11 13:10:10 2010
@@ -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.
*/
Modified: xerces/c/trunk/src/xercesc/util/XercesDefs.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XercesDefs.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XercesDefs.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XercesDefs.hpp Sun Apr 11 13:10:10 2010
@@ -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)
Modified: xerces/c/trunk/src/xercesc/util/XercesVersion.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/XercesVersion.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XercesVersion.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/XercesVersion.hpp Sun Apr 11 13:10:10 2010
@@ -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:
Modified: xerces/c/trunk/src/xercesc/util/regx/BMPattern.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/regx/BMPattern.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/regx/BMPattern.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/regx/BMPattern.hpp Sun Apr 11 13:10:10 2010
@@ -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.
Modified: xerces/c/trunk/src/xercesc/util/regx/Op.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/regx/Op.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/regx/Op.hpp (original)
+++ xerces/c/trunk/src/xercesc/util/regx/Op.hpp Sun Apr 11 13:10:10 2010
@@ -157,7 +157,7 @@ public:
void addElement(Op* const op);
private:
- // Private Data memebers
+ // Private Data members
RefVectorOf<Op>* fBranches;
// -----------------------------------------------------------------------
Modified: xerces/c/trunk/src/xercesc/validators/DTD/DTDAttDefList.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/DTD/DTDAttDefList.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/DTD/DTDAttDefList.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/DTD/DTDAttDefList.hpp Sun Apr 11 13:10:10 2010
@@ -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.
Modified: xerces/c/trunk/src/xercesc/validators/DTD/DTDElementDecl.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/DTD/DTDElementDecl.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/DTD/DTDElementDecl.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/DTD/DTDElementDecl.hpp Sun Apr 11 13:10:10 2010
@@ -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.
Modified: xerces/c/trunk/src/xercesc/validators/common/ContentSpecNode.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/common/ContentSpecNode.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/common/ContentSpecNode.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/common/ContentSpecNode.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/validators/common/GrammarResolver.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/common/GrammarResolver.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/common/GrammarResolver.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/common/GrammarResolver.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidator.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidator.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidator.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidator.hpp Sun Apr 11 13:10:10 2010
@@ -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
Modified: xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp Sun Apr 11 13:10:10 2010
@@ -538,33 +538,33 @@ void DatatypeValidatorFactory::initCanRe
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));
}
/***
Modified: xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidatorFactory.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidatorFactory.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidatorFactory.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/datatype/DatatypeValidatorFactory.hpp Sun Apr 11 13:10:10 2010
@@ -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.
*/
Modified: xerces/c/trunk/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp Sun Apr 11 13:10:10 2010
@@ -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::setEnumer
}
}
#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::setEnumer
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::checkCont
return;
XMLBigDecimal compareDataValue(content, manager);
- XMLBigDecimal* compareData = &compareDataValue;
-
+ XMLBigDecimal* compareData = &compareDataValue;
+
if (getEnumeration())
{
XMLSize_t i=0;
@@ -437,7 +437,7 @@ void DecimalDatatypeValidator::checkCont
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::checkCont
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::checkCont
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::checkCont
, 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::checkCont
* 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::g
{
try
{
- temp->checkContent(rawData, 0, false, toUse);
+ temp->checkContent(rawData, 0, false, toUse);
}
catch (...)
{
@@ -553,13 +553,13 @@ const XMLCh* DecimalDatatypeValidator::g
// 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(DecimalDatat
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
AbstractNumericValidator::serialize(serEng);
- //don't serialize XMLBigDecimal*
+ //don't serialize XMLBigDecimal*
if (serEng.isStoring())
{
serEng<<fTotalDigits;
Modified: xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/datatype/ListDatatypeValidator.hpp Sun Apr 11 13:10:10 2010
@@ -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.
//
// -----------------------------------------------------------------------
Modified: xerces/c/trunk/src/xercesc/validators/datatype/XMLCanRepGroup.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/datatype/XMLCanRepGroup.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/datatype/XMLCanRepGroup.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/datatype/XMLCanRepGroup.hpp Sun Apr 11 13:10:10 2010
@@ -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
};
Modified: xerces/c/trunk/src/xercesc/validators/schema/ComplexTypeInfo.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/ComplexTypeInfo.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/ComplexTypeInfo.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/ComplexTypeInfo.hpp Sun Apr 11 13:10:10 2010
@@ -161,7 +161,7 @@ public:
private:
// -----------------------------------------------------------------------
- // Unimplemented contstructors and operators
+ // Unimplemented constructors and operators
// -----------------------------------------------------------------------
ComplexTypeInfo(const ComplexTypeInfo& elemInfo);
ComplexTypeInfo& operator= (const ComplexTypeInfo& other);
Modified: xerces/c/trunk/src/xercesc/validators/schema/PSVIDefs.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/PSVIDefs.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/PSVIDefs.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/PSVIDefs.hpp Sun Apr 11 13:10:10 2010
@@ -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
};
};
Modified: xerces/c/trunk/src/xercesc/validators/schema/SchemaElementDecl.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/SchemaElementDecl.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/SchemaElementDecl.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/SchemaElementDecl.hpp Sun Apr 11 13:10:10 2010
@@ -178,7 +178,7 @@ private :
// Stores 'abstract/nullable' values
//
// fDefaultValue
- // The defalut/fixed value
+ // The default/fixed value
//
// fComplexTypeInfo
// Stores complex type information
Modified: xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.hpp Sun Apr 11 13:10:10 2010
@@ -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,
Modified: xerces/c/trunk/src/xercesc/validators/schema/SubstitutionGroupComparator.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/SubstitutionGroupComparator.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/SubstitutionGroupComparator.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/SubstitutionGroupComparator.hpp Sun Apr 11 13:10:10 2010
@@ -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);
Modified: xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/TraverseSchema.hpp Sun Apr 11 13:10:10 2010
@@ -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);
Modified: xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.hpp Sun Apr 11 13:10:10 2010
@@ -41,7 +41,7 @@ class PARSERS_EXPORT XSDDOMParser : publ
public :
// -----------------------------------------------------------------------
- // Constructors and Detructor
+ // Constructors and Destructor
// -----------------------------------------------------------------------
/** @name Constructors and Destructor */
Modified: xerces/c/trunk/src/xercesc/validators/schema/XercesAttGroupInfo.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/XercesAttGroupInfo.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/XercesAttGroupInfo.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/XercesAttGroupInfo.hpp Sun Apr 11 13:10:10 2010
@@ -90,7 +90,7 @@ public:
private:
// -----------------------------------------------------------------------
- // Unimplemented contstructors and operators
+ // Unimplemented constructors and operators
// -----------------------------------------------------------------------
XercesAttGroupInfo(const XercesAttGroupInfo& elemInfo);
XercesAttGroupInfo& operator= (const XercesAttGroupInfo& other);
Modified: xerces/c/trunk/src/xercesc/validators/schema/XercesGroupInfo.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/XercesGroupInfo.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/XercesGroupInfo.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/XercesGroupInfo.hpp Sun Apr 11 13:10:10 2010
@@ -92,7 +92,7 @@ public:
private:
// -----------------------------------------------------------------------
- // Unimplemented contstructors and operators
+ // Unimplemented constructors and operators
// -----------------------------------------------------------------------
XercesGroupInfo(const XercesGroupInfo& elemInfo);
XercesGroupInfo& operator= (const XercesGroupInfo& other);
Modified: xerces/c/trunk/src/xercesc/validators/schema/identity/IC_Field.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/identity/IC_Field.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/identity/IC_Field.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/identity/IC_Field.hpp Sun Apr 11 13:10:10 2010
@@ -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);
Modified: xerces/c/trunk/src/xercesc/validators/schema/identity/IC_Key.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/identity/IC_Key.hpp?rev=932889&r1=932888&r2=932889&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/identity/IC_Key.hpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/identity/IC_Key.hpp Sun Apr 11 13:10:10 2010
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org