From 813919fc46e5083078638f439beb425e3822c208 Mon Sep 17 00:00:00 2001 From: Alberto Massari <amassari@apache.org> Date: Fri, 25 Feb 2005 10:41:52 +0000 Subject: [PATCH] Fixing spelling errors git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@176325 13f79535-47bb-0310-9956-ffa450edef68 --- doc/build-misc.xml | 2 +- doc/build-other.xml | 6 +++--- doc/build-winunix.xml | 6 +++--- doc/faq-build.xml | 2 +- doc/faq-contributing.xml | 2 +- doc/faq-distrib.xml | 2 +- doc/program-dom.xml | 34 +++++++++++++++++----------------- doc/program-others.xml | 8 ++++---- 8 files changed, 31 insertions(+), 31 deletions(-) diff --git a/doc/build-misc.xml b/doc/build-misc.xml index fbd7fd254..8efd547eb 100644 --- a/doc/build-misc.xml +++ b/doc/build-misc.xml @@ -159,7 +159,7 @@ rpm -ta &XercesCSrcInstallDir;.tar.gz (rpm 4.0 and older) or rpmbuild -ta &XercesCSrcInstallDir;.tar.gz (rpm 4.1 and later; ships with RedHat 8) </source> - <p>The &XercesCName; RPM specificattion can be found in + <p>The &XercesCName; RPM specification can be found in <br/><code>&XercesCSrcInstallDir;/xerces-c.spec</code>.</p> <p>Please refer to the <jump href="http://www.rpm.org/RPM-HOWTO">RPM-HOWTO</jump>, for more RPM related information.</p> diff --git a/doc/build-other.xml b/doc/build-other.xml index 45b32d90c..79699f9e1 100644 --- a/doc/build-other.xml +++ b/doc/build-other.xml @@ -346,8 +346,8 @@ gmake </source> the &XercesCName; code contains some files with very long names, and earlier versions of Mac OS, as well as earlier versions of CodeWarrior, did not support file names longer than 32 characters, CodeWarrior 8.0 is required. If you are building &XercesCName; - on a Mac OS 9 system, be extremely carefull in how to unpack and/or transfer the &XercesCName; - files to that system, to ensure that their file names are not trancated in the process. + on a Mac OS 9 system, be extremely careful in how to unpack and/or transfer the &XercesCName; + files to that system, to ensure that their file names are not truncated in the process. </p> <p><em>Installing &XercesCName; for use with CodeWarrior:</em> @@ -532,7 +532,7 @@ make</source> <li>HFS+ APIs. If HFS+ APIs are available, all file access is performed using the HFS+ fork APIs to support long file access, and to support - long unicode compliant file names. In the absence of HFS+ APIs, classic + long Unicode compliant file names. In the absence of HFS+ APIs, classic HFS APIs are used instead. </li> </ul> diff --git a/doc/build-winunix.xml b/doc/build-winunix.xml index 351f0db76..b34aaffbe 100644 --- a/doc/build-winunix.xml +++ b/doc/build-winunix.xml @@ -28,7 +28,7 @@ <p>To build &XercesCName; from the source distribution (using MSVC), you will need to open the workspace containing the project. If you are building your application, you may want to add the &XercesCName; - project inside your applications's workspace.</p> + project inside your application's workspace.</p> <p>The workspace containing the &XercesCName; project file and all other samples is in:</p> <p>For MSVC Version 6:</p> @@ -92,7 +92,7 @@ nmake -f XercesLib.mak "CFG=XercesLib - Win64 Release" CPP=ecl.exe <anchor name="WinBorlandBuilder"/> <s2 title="Building &XercesCName; on Windows using Borland C++Builder"> - <p>&XercesCName; sourec distribution comes with Borland C++Builder6 projects to help you + <p>&XercesCName; source distribution comes with Borland C++Builder6 projects to help you build &XercesCName;. The following describes the steps you need to build &XercesCName;.</p> @@ -126,7 +126,7 @@ nmake -f XercesLib.mak "CFG=XercesLib - Win64 Release" CPP=ecl.exe <anchor name="WinBorlandCC"/> <s2 title="Building &XercesCName; on Windows using Borland C++ Compiler"> - <p>&XercesCName; sourec distribution comes with Borland C++ Compiler make files to help you + <p>&XercesCName; source distribution comes with Borland C++ Compiler make files to help you build &XercesCName;. The following describes the steps you need to build &XercesCName;.</p> diff --git a/doc/faq-build.xml b/doc/faq-build.xml index 93d1a7ca5..b734db6d6 100644 --- a/doc/faq-build.xml +++ b/doc/faq-build.xml @@ -412,7 +412,7 @@ catch (const XMLException& toCatch) { </a> </faq> - <faq title='Regenerating (API) documention?'> + <faq title='Regenerating (API) documentation?'> <q>How do I regenerate the (API) documentation?</q> <a> <p>To use the internal XML based application that creates the diff --git a/doc/faq-contributing.xml b/doc/faq-contributing.xml index 4489ddd5c..b2315a09b 100644 --- a/doc/faq-contributing.xml +++ b/doc/faq-contributing.xml @@ -48,7 +48,7 @@ have applied your changes to a local copy of the most recent xerces source code, do <code>cvs diff -u file</code> for each file you've changed. - Keep in mind the coding quidelines for &XercesCName; as + Keep in mind the coding guidelines for &XercesCName; as described below. </li> <li> diff --git a/doc/faq-distrib.xml b/doc/faq-distrib.xml index 256058f58..1fdb59a03 100644 --- a/doc/faq-distrib.xml +++ b/doc/faq-distrib.xml @@ -208,7 +208,7 @@ Example: perl packageBinaries.pl -s$HOME/&XercesCSrcInstallDir; <jump href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</jump>.</p> <p>See <jump href="faq-build.html#faq-18"> - FAQ: Regenerating (API) documention?</jump></p> + FAQ: Regenerating (API) documentation?</jump></p> </a> </faq> diff --git a/doc/program-dom.xml b/doc/program-dom.xml index 4784253c2..0856c625c 100644 --- a/doc/program-dom.xml +++ b/doc/program-dom.xml @@ -103,7 +103,7 @@ were created by the DOMImplementation::createXXXX (e.g. DOMBuilder, DOMWriter, DOMDocument, DOMDocumentType).</p> - <p>Acesss to a released object will lead to unexpected behaviour.</p> + <p>Access to a released object will lead to unexpected behaviour.</p> <note>When a DOMDocument is released, all its associated children AND any objects it owned (e.g. DOMRange, DOMTreeWalker, DOMNodeIterator or any orphaned nodes) will also be released. @@ -120,7 +120,7 @@ <s4 title="Objects created by DOMDocument::createXXXX"> <p>Users <em>can</em> call the release() function to indicate the release of any orphaned nodes. When an orphaned Node is released, its associated children will also be released. - Acesss to a released Node will lead to unexpected behaviour. These orphaned Nodes will + Access to a released Node will lead to unexpected behaviour. These orphaned Nodes will eventually be released, if not already done so, when its owner document is released</p> <note>DOMException::INVALID_ACCESS_ERR will be raised if releasing a Node that has a parent @@ -130,7 +130,7 @@ <s4 title="Objects created by DOMDocumentRange::createRange or DOMDocumentTraversal::createXXXX"> <p>Users <em>can</em> call release() function when finished using the DOMRange, DOMNodeIterator, DOMTreeWalker. - Acesss to a released object will lead to unexpected behaviour. These objects will + Access to a released object will lead to unexpected behaviour. These objects will eventually be released, if not already done so, when its owner document is released </p> </s4> @@ -349,7 +349,7 @@ <anchor name="XercesDOMFeatures"/> <s3 title="XercesDOMParser Supported Features"> - <p>The behavior of the XercesDOMParser is dependant on the values of the following features. All + <p>The behavior of the XercesDOMParser is dependent on the values of the following features. All of the features below are set using the "setter" methods (e.g. <code>setDoNamespaces</code>), and are queried using the corresponding "getter" methods (e.g. <code>getDoNamespaces</code>). The following only gives you a quick summary of supported features. Please @@ -575,11 +575,11 @@ <anchor name="CalculateSrcOffset"/> <table> <tr><th colspan="2"><em>void setCalculateSrcOfs(const bool)</em></th></tr> - <tr><th><em>true:</em></th><td> Enable src offset calculation. </td></tr> - <tr><th><em>false:</em></th><td> Disable src offset calculation. </td></tr> + <tr><th><em>true:</em></th><td> Enable source offset calculation. </td></tr> + <tr><th><em>false:</em></th><td> Disable source offset calculation. </td></tr> <tr><th><em>default:</em></th><td> false </td></tr> <tr><th><em>note:</em></th><td> If set to true, the user can inquire about - the current src offset within the input source. Setting it to false (default) + the current source offset within the input source. Setting it to false (default) improves the performance.</td></tr> </table> <p/> @@ -649,7 +649,7 @@ <anchor name="XercesDOMProperties"/> <s3 title="XercesDOMParser Supported Properties"> - <p>The behavior of the XercesDOMParser is dependant on the values of the following properties. All + <p>The behavior of the XercesDOMParser is dependent on the values of the following properties. All of the properties below are set using the "setter" methods (e.g. <code>setExternalSchemaLocation</code>), and are queried using the corresponding "getter" methods (e.g. <code>getExternalSchemaLocation</code>). The following only gives you a quick summary of supported features. Please @@ -916,7 +916,7 @@ <anchor name="DOMBuilderFeatures"/> <s3 title="DOMBuilder Supported Features"> - <p>The behavior of the DOMBuilder is dependant on the values of the following features. + <p>The behavior of the DOMBuilder is dependent on the values of the following features. All of the features below can be set using the function <code>DOMBuilder::setFeature(cons XMLCh* const, const bool)</code>. And can be queried using the function <code>bool DOMBuilder::getFeature(const XMLCh* const)</code>. User can also call <code>DOMBuilder::canSetFeature(const XMLCh* const, const bool)</code> @@ -1001,7 +1001,7 @@ EntityReference nodes and their child nodes will be read-only. </td></tr> <tr><th><em>false:</em></th><td> Do not create EntityReference nodes in the DOM tree. No EntityReference nodes will be created, only the nodes corresponding to their fully - expanded sustitution text will be created. </td></tr> + expanded substitution text will be created. </td></tr> <tr><th><em>default:</em></th><td> true </td></tr> <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgDOMEntities </td></tr> <tr><th><em>note:</em></th><td> This feature only affects the appearance of @@ -1295,12 +1295,12 @@ <anchor name="builder-CalculateSrcOffset"/> <table> <tr><th colspan="2"><em>http://apache.org/xml/features/calculate-src-ofs</em></th></tr> - <tr><th><em>true:</em></th><td> Enable src offset calculation. </td></tr> - <tr><th><em>false:</em></th><td> Disable src offset calculation. </td></tr> + <tr><th><em>true:</em></th><td> Enable source offset calculation. </td></tr> + <tr><th><em>false:</em></th><td> Disable source offset calculation. </td></tr> <tr><th><em>default:</em></th><td> false </td></tr> <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgXercesCalculateSrcOfs </td></tr> <tr><th><em>note:</em></th><td> If set to true, the user can inquire about - the current src offset within the input source. Setting it to false (default) + the current source offset within the input source. Setting it to false (default) improves the performance.</td></tr> </table> <p/> @@ -1391,7 +1391,7 @@ <anchor name="DOMBuilderProperties"/> <s3 title="DOMBuilder Supported Properties"> - <p>The behavior of the DOMBuilder is dependant on the values of the following properties. + <p>The behavior of the DOMBuilder is dependent on the values of the following properties. All of the properties below can be set using the function <code>DOMBuilder::setProperty(const XMLCh* const, void*)</code>. It takes a void pointer as the property value. Application is required to initialize this void pointer to a correct type. Please check the column "Value Type" below @@ -1710,7 +1710,7 @@ <anchor name="DOMWriterFeatures"/> <s3 title="DOMWriter Supported Features"> - <p>The behavior of the DOMWriter is dependant on the values of the following features. + <p>The behavior of the DOMWriter is dependent on the values of the following features. All of the features below can be set using the function <code>DOMWriter::setFeature(cons XMLCh* const, bool)</code>. And can be queried using the function <code>bool DOMWriter::getFeature(const XMLCh* const)</code>. User can also call <code>DOMWriter::canSetFeature(const XMLCh* const, bool)</code> @@ -1744,11 +1744,11 @@ <tr><th><em>true:</em></th><td> EntityReference nodes are serialized as an entity reference of the form "&entityName;" in the output. </td></tr> <tr><th><em>false:</em></th><td> EntityReference nodes are serialized as expanded - sustitution text, unless the corresponding entity definition is not found. </td></tr> + substitution text, unless the corresponding entity definition is not found. </td></tr> <tr><th><em>default:</em></th><td> true </td></tr> <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgDOMWRTEntities </td></tr> <tr><th><em>note:</em></th><td> This feature only affects the output XML stream. - The dom tree to be serialized will not be changed. </td></tr> + The DOM tree to be serialized will not be changed. </td></tr> <tr><th><em>see:</em></th><td> <jump href="http://www.w3.org/TR/2002/WD-DOM-Level-3-ASLS-20020409/"> DOM Level 3.0 Abstract Schemas and Load and Save Specification</jump> diff --git a/doc/program-others.xml b/doc/program-others.xml index 7b0e96b62..80e268b1e 100644 --- a/doc/program-others.xml +++ b/doc/program-others.xml @@ -184,7 +184,7 @@ parser.setDoNamespaces(true); // Enable grammar caching parser.cacheGrammarFromParse(true); -// Let's parse the XML document. The parser will cache any grammars encounterd. +// Let's parse the XML document. The parser will cache any grammars encountered. parser.parse(xmlFile); // No need to enable re-use by setting useCachedGrammarInParse to true. It is @@ -558,7 +558,7 @@ new XERCES_CPP_NAMESPACE_QUALIFIER SAXParser(); <p>Application can specify the locale for the message loader in their very first invocation to XMLPlatformUtils::Initialize() by supplying - a parameter for the target locale intended. The defaul locale is "en_US". + a parameter for the target locale intended. The default locale is "en_US". </p> <source> @@ -760,7 +760,7 @@ XMLPlatformUtils::Terminate(); attack against a system running the parser. Initially, the SecurityManager only knows about attacks that can result from exponential entity expansion; this is the only known attack that - involves processing a single XML document. Other, simlar attacks + involves processing a single XML document. Other, similar attacks can be launched if arbitrary schemas may be parsed; there already exist means (via use of the EntityResolver interface) by which applications can deny processing of untrusted schemas. In future, @@ -818,7 +818,7 @@ myParser->setSecurityManager(myManager); <p> The WFXMLScanner is a non-validating scanner which performs well-formedness check only. It does not do any DTD/XMLSchema processing. If the XML document contains a DOCTYPE, it - will be silently ignored (i.e. no warning message is issued). Similiarly, any schema + will be silently ignored (i.e. no warning message is issued). Similarly, any schema specific attributes (e.g. schemaLocation), will be treated as normal element attributes. Setting grammar specific features/properties will have no effect on its behavior (e.g. setLoadExternalDTD(true) is ignored). -- GitLab