misc: fix-spelling (#117) Looks reasonable to me. Typo once, block-copy everywhere; sigh.
diff --git a/samples/CompiledApplet/README.applet b/samples/CompiledApplet/README.applet index eb7690f..56bd7e0 100644 --- a/samples/CompiledApplet/README.applet +++ b/samples/CompiledApplet/README.applet
@@ -106,6 +106,6 @@ java.lang.IllegalAccessError - Sun JRE 1.4.* has bundled with it an old version of Xalan-J Interpretive (2.2.D11). -Copy a new verison of xalan.jar to the %Java_JRE%/lib/endorsed/ directory. +Copy a new version of xalan.jar to the %Java_JRE%/lib/endorsed/ directory. ---------------------------------------------------------------------- END OF README
diff --git a/samples/TransformThread/TransformThread.java b/samples/TransformThread/TransformThread.java index 3146fb4..c6e437b 100644 --- a/samples/TransformThread/TransformThread.java +++ b/samples/TransformThread/TransformThread.java
@@ -138,7 +138,7 @@ StreamSource xslSource = new StreamSource(xslSourceFileName); xslSource.setSystemId(xslSourceURI); - // Initialize the tranformer + // Initialize the transformer m_transformer = TransformerFactory.newInstance().newTransformer(xslSource); m_thread = new Thread(this);
diff --git a/samples/Validate/ValidateXMLInput.java b/samples/Validate/ValidateXMLInput.java index bbf3dc7..99e8157 100644 --- a/samples/Validate/ValidateXMLInput.java +++ b/samples/Validate/ValidateXMLInput.java
@@ -86,7 +86,7 @@ } catch (TransformerException te) { - // The TransformerException wraps someting other than a SAXParseException + // The TransformerException wraps something other than a SAXParseException // warning or error, either of which should be "caught" by the Handler. System.out.println("Not a SAXParseException warning or error: " + te.getMessage()); }
diff --git a/samples/extensions/sql/ext-connection/ExternalConnection.java b/samples/extensions/sql/ext-connection/ExternalConnection.java index 0558f05..753e474 100644 --- a/samples/extensions/sql/ext-connection/ExternalConnection.java +++ b/samples/extensions/sql/ext-connection/ExternalConnection.java
@@ -69,7 +69,7 @@ // org.apache.xalan.transformer.TransformerImpl. TransformerFactory tFactory = TransformerFactory.newInstance(); - // Grab the Name of the Stylesheet from the commad line + // Grab the Name of the Stylesheet from the command line if (args.length == 0) { System.out.println("You must provide the path and name to a stylesheet to process");
diff --git a/samples/extensions/sql/runExtConnection.bat b/samples/extensions/sql/runExtConnection.bat index 826a8bd..f3c59c9 100644 --- a/samples/extensions/sql/runExtConnection.bat +++ b/samples/extensions/sql/runExtConnection.bat
@@ -55,7 +55,7 @@ REM argument when running under JDK 1.4 this should also work for JDK 1.5 REM The XML Apis are going to be either in the LIB dir for a source -REM release or in the root direcctory for a binary release. +REM release or in the root directory for a binary release. IF EXIST "..\..\..\lib\xercesImpl.jar" goto BIN_DIR_BINRELEASE
diff --git a/samples/extensions/sql/runExtConnection.sh b/samples/extensions/sql/runExtConnection.sh index 71d37a0..90facec 100644 --- a/samples/extensions/sql/runExtConnection.sh +++ b/samples/extensions/sql/runExtConnection.sh
@@ -30,7 +30,7 @@ #argument when running under JDK 1.4 this should also work for JDK 1.5 #The XML Apis are going to be either in the LIB dir for a source -#release or in the root direcctory for a binary release. +#release or in the root directory for a binary release. if [ -f ../../../build/xalan.jar ] ; then
diff --git a/samples/extensions/sql/runXalan.bat b/samples/extensions/sql/runXalan.bat index 64cfe76..86c9728 100644 --- a/samples/extensions/sql/runXalan.bat +++ b/samples/extensions/sql/runXalan.bat
@@ -51,7 +51,7 @@ REM argument when running under JDK 1.4 this should also work for JDK 1.5 REM The XML Apis are going to be either in the LIB dir for a source -REM release or in the root direcctory for a binary release. +REM release or in the root directory for a binary release. IF EXIST "..\..\..\lib\xercesImpl.jar" goto BIN_DIR_BINRELEASE
diff --git a/samples/extensions/sql/runXalan.sh b/samples/extensions/sql/runXalan.sh index 529c059..1ded8f4 100644 --- a/samples/extensions/sql/runXalan.sh +++ b/samples/extensions/sql/runXalan.sh
@@ -30,7 +30,7 @@ #argument when running under JDK 1.4 this should also work for JDK 1.5 #The XML Apis are going to be either in the LIB dir for a source -#release or in the root direcctory for a binary release. +#release or in the root directory for a binary release. if [ -f ../../../build/xalan.jar ] ; then
diff --git a/samples/servlet/default.xsl b/samples/servlet/default.xsl index 6511033..d8c5b1d 100644 --- a/samples/servlet/default.xsl +++ b/samples/servlet/default.xsl
@@ -178,7 +178,7 @@ } e = e.parentElement; - // call the correct funtion to change the collapse/expand state and display + // call the correct function to change the collapse/expand state and display if (e.className == "e") ch(e); if (e.className == "k")
diff --git a/samples/servlet/jspSample.jsp b/samples/servlet/jspSample.jsp index 998a710..c33fc43 100644 --- a/samples/servlet/jspSample.jsp +++ b/samples/servlet/jspSample.jsp
@@ -12,7 +12,7 @@ * This JSP uses PMA to set param1 in the * foo.xsl stylesheet before using the * stylesheet to transform foo.xml - * and outputing the result. + * and outputting the result. * * Invoke the jsp from the appropriate * context for your servlet/jsp server.
diff --git a/src/org/apache/xalan/templates/ElemExsltFuncResult.java b/src/org/apache/xalan/templates/ElemExsltFuncResult.java index 13c7a4d..09af15d 100644 --- a/src/org/apache/xalan/templates/ElemExsltFuncResult.java +++ b/src/org/apache/xalan/templates/ElemExsltFuncResult.java
@@ -34,7 +34,7 @@ static final long serialVersionUID = -3478311949388304563L; /* * To keep the binary compatibility put those three private global - * variables back, although they are never used in this verison + * variables back, although they are never used in this version */ // A flag indicating whether the return result is set private boolean m_isResultSet = false;
diff --git a/src/org/apache/xalan/transformer/TransformerImpl.java b/src/org/apache/xalan/transformer/TransformerImpl.java index bd9baaf..62241af 100644 --- a/src/org/apache/xalan/transformer/TransformerImpl.java +++ b/src/org/apache/xalan/transformer/TransformerImpl.java
@@ -356,7 +356,7 @@ */ private boolean m_isTransformDone = false; - /** Flag to to tell if the tranformer needs to be reset. */ + /** Flag to tell if the transformer needs to be reset. */ private boolean m_hasBeenReset = false; /** NEEDSDOC Field m_shouldReset */ @@ -2262,7 +2262,7 @@ // since much (most? all?) of the processing has been inlined. // (It would be nice if there was a single entry point that // worked for both... but the interpretive system works by - // having the Tranformer execute the children, while the + // having the Transformer execute the children, while the // compiled obviously has to run its own code. It's // also unclear that "execute" is really the right name for // that entry point.)
diff --git a/src/org/apache/xalan/xsltc/trax/TemplatesImpl.java b/src/org/apache/xalan/xsltc/trax/TemplatesImpl.java index 76df1ce..7e4cbcb 100644 --- a/src/org/apache/xalan/xsltc/trax/TemplatesImpl.java +++ b/src/org/apache/xalan/xsltc/trax/TemplatesImpl.java
@@ -169,7 +169,7 @@ /** * Overrides the default readObject implementation since we decided - * it would be cleaner not to serialize the entire tranformer + * it would be cleaner not to serialize the entire transformer * factory. [ ref bugzilla 12317 ] * We need to check if the user defined class for URIResolver also * implemented Serializable
diff --git a/xdocs/sources/xalan/history.xml b/xdocs/sources/xalan/history.xml index 7c8f79a..d39e0cb 100644 --- a/xdocs/sources/xalan/history.xml +++ b/xdocs/sources/xalan/history.xml
@@ -3286,7 +3286,7 @@ lower cost than saving them in DTMStringPool. Only prefixed QNames are saved in DTMStringPool after this change. -Need to make changes in a few interfaces to accommadate this change. +Need to make changes in a few interfaces to accommodate this change. <br/><br/></li><li><ref>Committed by </ref>mkwan@apache.org<ref> on </ref>2003/03/13<br/><ref>Modified: </ref> xml-xalan/java/src/org/apache/xml/utils FastStringBuffer.java<br/><ref>Committer's log entry: </ref> XSLTC_DTM performance work Small improvement in FastStringBuffer.sendSAXCharacters() when the whole @@ -4798,7 +4798,7 @@ transforms so that when the transformer is reused, we were using nodesets from the previous transform which were using a different DTM. Note that we want keep any variables that have been set externally by the user (using -Transformer.setParameter()).<br/><br/></li><li><ref>Committed by </ref>mmidy@apache.org<ref> on </ref>01/28/2002<br/><ref>Modified: </ref>java/src/org/apache/xpath/res XPATHErrorResources.java<br/><ref>Committer's log entry: </ref>bug 4762: Fixed the duplicate error message in XPATH.<br/><br/></li><li><ref>Committed by </ref>jkesselm@apache.org<ref> on </ref>01/28/2002<br/><ref>Modified: </ref>java/src/org/apache/xalan/transformer TransformerImpl.java<br/><ref>Committer's log entry: </ref>Bugzilla 4054: Retain previously set output properties when adding new ones.<br/><br/></li><li><ref>Committed by </ref>mmidy@apache.org<ref> on </ref>01/28/2002<br/><ref>Modified: </ref>java/src/org/apache/xalan/transformer TransformerImpl.java<br/><ref>Committer's log entry: </ref>Bug 5872. We were using a constructor of TranformerException without the +Transformer.setParameter()).<br/><br/></li><li><ref>Committed by </ref>mmidy@apache.org<ref> on </ref>01/28/2002<br/><ref>Modified: </ref>java/src/org/apache/xpath/res XPATHErrorResources.java<br/><ref>Committer's log entry: </ref>bug 4762: Fixed the duplicate error message in XPATH.<br/><br/></li><li><ref>Committed by </ref>jkesselm@apache.org<ref> on </ref>01/28/2002<br/><ref>Modified: </ref>java/src/org/apache/xalan/transformer TransformerImpl.java<br/><ref>Committer's log entry: </ref>Bugzilla 4054: Retain previously set output properties when adding new ones.<br/><br/></li><li><ref>Committed by </ref>mmidy@apache.org<ref> on </ref>01/28/2002<br/><ref>Modified: </ref>java/src/org/apache/xalan/transformer TransformerImpl.java<br/><ref>Committer's log entry: </ref>Bug 5872. We were using a constructor of TransformerException without the locator information. Changed to code to use a locator if info is available.<br/><br/></li><li><ref>Committed by </ref>dleslie@apache.org<ref> on </ref>01/30/2002<br/><ref>Modified: </ref>java/src/org/apache/xalan/lib NodeInfo.java<br/><ref>Committer's log entry: </ref>Changed "system id" to "public identifier" in javadoc comments for publicId() methods.<br/><br/></li><li><ref>Committed by </ref>jkesselm@apache.org<ref> on </ref>01/30/2002<br/><ref>Modified: </ref>java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java<br/><ref>Committer's log entry: </ref>Bugzilla 2617, part 1: Construct the data structures and access them correctly. @@ -6512,7 +6512,7 @@ passed as a parameter which it wasn't. This fix changes isParamVar into to fields, isAvailable which indicates that the slot is available and isFromWithParam indicating the Frame slot came from an xsl:with-param or a -top-level parameter passed in via the tranformerImpl.setParameter() API. +top-level parameter passed in via the transformerImpl.setParameter() API. I have tested this change against the conformance suite and had no regression. I've also submitted a test case which fails on the existing codebase but works okay after this fix.
diff --git a/xdocs/sources/xalan/xsltc_usage.xml b/xdocs/sources/xalan/xsltc_usage.xml index fc4aa81..607a326 100644 --- a/xdocs/sources/xalan/xsltc_usage.xml +++ b/xdocs/sources/xalan/xsltc_usage.xml
@@ -392,7 +392,7 @@ <li>Perform the transformation, using a StreamSource object for the XML input and a StreamResult object to hold the transformation output.</li> </ol> -<p>Both a <code>Templates</code> object and a <code>Tranformer</code> object are +<p>Both a <code>Templates</code> object and a <code>Transformer</code> object are processed representations of a stylesheet, but you cannot use a <code>Templates</code> object to perform transformations. Instead, you can use a <code>Templates</code> object to create new