diff --git a/xalansamples/src/main/java/samples/ApplyXPath/ApplyXPath.java b/xalansamples/src/main/java/samples/ApplyXPath/ApplyXPath.java index fe8478f9d..a536d26ff 100644 --- a/xalansamples/src/main/java/samples/ApplyXPath/ApplyXPath.java +++ b/xalansamples/src/main/java/samples/ApplyXPath/ApplyXPath.java @@ -19,6 +19,7 @@ * $Id$ */ // This file uses 4 space indents, no tabs. +package samples.ApplyXPath; import java.io.FileInputStream; import java.io.OutputStreamWriter; diff --git a/xalansamples/src/main/java/samples/ApplyXPathDOM/ApplyXPathDOM.java b/xalansamples/src/main/java/samples/ApplyXPathDOM/ApplyXPathDOM.java index 7ebb1d267..b3b3d94d4 100644 --- a/xalansamples/src/main/java/samples/ApplyXPathDOM/ApplyXPathDOM.java +++ b/xalansamples/src/main/java/samples/ApplyXPathDOM/ApplyXPathDOM.java @@ -20,6 +20,9 @@ */ // This file uses 4 space indents, no tabs. +package samples.ApplyXPathDOM; + + import java.io.FileInputStream; import java.io.OutputStreamWriter; diff --git a/xalansamples/src/main/java/samples/CompiledJAXP/Compile.java b/xalansamples/src/main/java/samples/CompiledJAXP/Compile.java index a2c08b358..00250a62d 100644 --- a/xalansamples/src/main/java/samples/CompiledJAXP/Compile.java +++ b/xalansamples/src/main/java/samples/CompiledJAXP/Compile.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.CompiledJAXP; import javax.xml.transform.Templates; import javax.xml.transform.TransformerFactory; diff --git a/xalansamples/src/main/java/samples/CompiledJAXP/Transform.java b/xalansamples/src/main/java/samples/CompiledJAXP/Transform.java index da9ac396b..935f33206 100644 --- a/xalansamples/src/main/java/samples/CompiledJAXP/Transform.java +++ b/xalansamples/src/main/java/samples/CompiledJAXP/Transform.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.CompiledJAXP; import java.io.OutputStreamWriter; diff --git a/xalansamples/src/main/java/samples/DOM2DOM/DOM2DOM.java b/xalansamples/src/main/java/samples/DOM2DOM/DOM2DOM.java index 8e9c82a4b..fa5e77a60 100644 --- a/xalansamples/src/main/java/samples/DOM2DOM/DOM2DOM.java +++ b/xalansamples/src/main/java/samples/DOM2DOM/DOM2DOM.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.DOM2DOM; import java.io.FileNotFoundException; import java.io.IOException; diff --git a/xalansamples/src/main/java/samples/Pipe/Pipe.java b/xalansamples/src/main/java/samples/Pipe/Pipe.java index 798c243fc..8ef67b751 100644 --- a/xalansamples/src/main/java/samples/Pipe/Pipe.java +++ b/xalansamples/src/main/java/samples/Pipe/Pipe.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.Pipe; import java.io.IOException; diff --git a/xalansamples/src/main/java/samples/SAX2SAX/SAX2SAX.java b/xalansamples/src/main/java/samples/SAX2SAX/SAX2SAX.java index bbcd4022e..68e14e726 100644 --- a/xalansamples/src/main/java/samples/SAX2SAX/SAX2SAX.java +++ b/xalansamples/src/main/java/samples/SAX2SAX/SAX2SAX.java @@ -24,6 +24,7 @@ * Replicate the SimpleTransform sample, explicitly using the SAX model to handle the * stylesheet, the XML input, and the transformation. */ +package samples.SAX2SAX; import java.io.FileOutputStream; import java.io.IOException; diff --git a/xalansamples/src/main/java/samples/SimpleTransform/SimpleTransform.java b/xalansamples/src/main/java/samples/SimpleTransform/SimpleTransform.java index fbb1ca0cf..a24770aaa 100644 --- a/xalansamples/src/main/java/samples/SimpleTransform/SimpleTransform.java +++ b/xalansamples/src/main/java/samples/SimpleTransform/SimpleTransform.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.SimpleTransform; import java.io.FileNotFoundException; import java.io.FileOutputStream; diff --git a/xalansamples/src/main/java/samples/Trace/Trace.java b/xalansamples/src/main/java/samples/Trace/Trace.java index f85b5a42e..17615b949 100644 --- a/xalansamples/src/main/java/samples/Trace/Trace.java +++ b/xalansamples/src/main/java/samples/Trace/Trace.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.Trace; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerConfigurationException; diff --git a/xalansamples/src/main/java/samples/TransformThread/TransformThread.java b/xalansamples/src/main/java/samples/TransformThread/TransformThread.java index c6e437b4f..7ece806c3 100644 --- a/xalansamples/src/main/java/samples/TransformThread/TransformThread.java +++ b/xalansamples/src/main/java/samples/TransformThread/TransformThread.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.TransformThread; import java.io.File; import java.io.FileInputStream; diff --git a/xalansamples/src/main/java/samples/UseStylesheetPI/UseStylesheetPI.java b/xalansamples/src/main/java/samples/UseStylesheetPI/UseStylesheetPI.java index 0e2ee9824..77baaf552 100644 --- a/xalansamples/src/main/java/samples/UseStylesheetPI/UseStylesheetPI.java +++ b/xalansamples/src/main/java/samples/UseStylesheetPI/UseStylesheetPI.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.UseStylesheetPI; import javax.xml.transform.Source; import javax.xml.transform.Transformer; diff --git a/xalansamples/src/main/java/samples/UseStylesheetParam/UseStylesheetParam.java b/xalansamples/src/main/java/samples/UseStylesheetParam/UseStylesheetParam.java index f64d50f5d..939361394 100644 --- a/xalansamples/src/main/java/samples/UseStylesheetParam/UseStylesheetParam.java +++ b/xalansamples/src/main/java/samples/UseStylesheetParam/UseStylesheetParam.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.UseStylesheetParam; import java.io.IOException; import java.io.OutputStreamWriter; diff --git a/xalansamples/src/main/java/samples/UseXMLFilters/UseXMLFilters.java b/xalansamples/src/main/java/samples/UseXMLFilters/UseXMLFilters.java index 10b909396..7aaddc587 100644 --- a/xalansamples/src/main/java/samples/UseXMLFilters/UseXMLFilters.java +++ b/xalansamples/src/main/java/samples/UseXMLFilters/UseXMLFilters.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.UseXMLFilters; import java.io.IOException; diff --git a/xalansamples/src/main/java/samples/Validate/Validate.java b/xalansamples/src/main/java/samples/Validate/Validate.java index 5756d0f45..5b794775b 100644 --- a/xalansamples/src/main/java/samples/Validate/Validate.java +++ b/xalansamples/src/main/java/samples/Validate/Validate.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.Validate; import java.io.File; import java.io.FileInputStream; diff --git a/xalansamples/src/main/java/samples/Validate/ValidateXMLInput.java b/xalansamples/src/main/java/samples/Validate/ValidateXMLInput.java index dd2231fba..b25f3d79d 100644 --- a/xalansamples/src/main/java/samples/Validate/ValidateXMLInput.java +++ b/xalansamples/src/main/java/samples/Validate/ValidateXMLInput.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.Validate; import javax.xml.parsers.SAXParserFactory; import javax.xml.transform.Transformer; diff --git a/xalansamples/src/main/java/samples/XPathAPI/ApplyXPathJAXP.java b/xalansamples/src/main/java/samples/XPathAPI/ApplyXPathJAXP.java index 0bba26fa7..c18c57c83 100644 --- a/xalansamples/src/main/java/samples/XPathAPI/ApplyXPathJAXP.java +++ b/xalansamples/src/main/java/samples/XPathAPI/ApplyXPathJAXP.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +package samples.XPathAPI; import java.io.OutputStreamWriter; diff --git a/xalansamples/src/main/java/samples/XPathAPI/ExtensionFunctionResolver.java b/xalansamples/src/main/java/samples/XPathAPI/ExtensionFunctionResolver.java index f3ebf3ff5..6e6ae7835 100644 --- a/xalansamples/src/main/java/samples/XPathAPI/ExtensionFunctionResolver.java +++ b/xalansamples/src/main/java/samples/XPathAPI/ExtensionFunctionResolver.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +package samples.XPathAPI; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathConstants; diff --git a/xalansamples/src/main/java/samples/XPathAPI/ExtensionTest.java b/xalansamples/src/main/java/samples/XPathAPI/ExtensionTest.java index a97a2c0ed..c7b8459c2 100644 --- a/xalansamples/src/main/java/samples/XPathAPI/ExtensionTest.java +++ b/xalansamples/src/main/java/samples/XPathAPI/ExtensionTest.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +package samples.XPathAPI; public class ExtensionTest { diff --git a/xalansamples/src/main/java/samples/XPathAPI/XPathResolver.java b/xalansamples/src/main/java/samples/XPathAPI/XPathResolver.java index 50cbddabd..f11edcb07 100644 --- a/xalansamples/src/main/java/samples/XPathAPI/XPathResolver.java +++ b/xalansamples/src/main/java/samples/XPathAPI/XPathResolver.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +package samples.XPathAPI; import javax.xml.namespace.*; import javax.xml.xpath.*; diff --git a/xalansamples/src/main/java/samples/extensions/IntDate.java b/xalansamples/src/main/java/samples/extensions/IntDate.java index 41c29fa2b..ca94e29ad 100644 --- a/xalansamples/src/main/java/samples/extensions/IntDate.java +++ b/xalansamples/src/main/java/samples/extensions/IntDate.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.extensions; import java.util.Calendar; import java.util.Date; diff --git a/xalansamples/src/main/java/samples/extensions/MyCounter.java b/xalansamples/src/main/java/samples/extensions/MyCounter.java index 6accf7df0..e2aa6ae84 100644 --- a/xalansamples/src/main/java/samples/extensions/MyCounter.java +++ b/xalansamples/src/main/java/samples/extensions/MyCounter.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.extensions; import java.util.Hashtable; public class MyCounter { diff --git a/xalansamples/src/main/java/samples/extensions/sql/extConnection/ExternalConnection.java b/xalansamples/src/main/java/samples/extensions/sql/extConnection/ExternalConnection.java index 18b09319f..5ebba0d59 100644 --- a/xalansamples/src/main/java/samples/extensions/sql/extConnection/ExternalConnection.java +++ b/xalansamples/src/main/java/samples/extensions/sql/extConnection/ExternalConnection.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.extensions.sql.extConnection; // Imported TraX classes import javax.xml.transform.TransformerFactory; diff --git a/xalansamples/src/main/java/samples/translets/JAXPTransletMultipleTransformations.java b/xalansamples/src/main/java/samples/translets/JAXPTransletMultipleTransformations.java index 600acfe89..7ecfa3ba2 100644 --- a/xalansamples/src/main/java/samples/translets/JAXPTransletMultipleTransformations.java +++ b/xalansamples/src/main/java/samples/translets/JAXPTransletMultipleTransformations.java @@ -19,6 +19,7 @@ * $Id$ */ +package samples.translets; import java.io.FileNotFoundException; import java.io.FileOutputStream; diff --git a/xalansamples/src/main/java/samples/translets/JAXPTransletOneTransformation.java b/xalansamples/src/main/java/samples/translets/JAXPTransletOneTransformation.java index 0d834a9a5..e320d15aa 100644 --- a/xalansamples/src/main/java/samples/translets/JAXPTransletOneTransformation.java +++ b/xalansamples/src/main/java/samples/translets/JAXPTransletOneTransformation.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.translets; import java.io.FileNotFoundException; import java.io.FileOutputStream; diff --git a/xalansamples/src/main/java/samples/trax/ExampleContentHandler.java b/xalansamples/src/main/java/samples/trax/ExampleContentHandler.java index 496737fc1..cfaed15ea 100644 --- a/xalansamples/src/main/java/samples/trax/ExampleContentHandler.java +++ b/xalansamples/src/main/java/samples/trax/ExampleContentHandler.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.trax; import org.xml.sax.Attributes; import org.xml.sax.ContentHandler; diff --git a/xalansamples/src/main/java/samples/trax/Examples.java b/xalansamples/src/main/java/samples/trax/Examples.java index 85d171b17..88975d7a5 100644 --- a/xalansamples/src/main/java/samples/trax/Examples.java +++ b/xalansamples/src/main/java/samples/trax/Examples.java @@ -18,6 +18,7 @@ /* * $Id$ */ +package samples.trax; import java.io.BufferedInputStream; import java.io.BufferedReader;