robweir 00/02/09 12:11:12
Modified: src/org/apache/xalan/xpath XPath.java
XPathProcessorImpl.java
src/org/apache/xalan/xslt Stylesheet.java TemplateList.java
Log:
Fixes for compiled stylesheets
Revision Changes Path
1.14 +1 -1 xml-xalan/src/org/apache/xalan/xpath/XPath.java
Index: XPath.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xpath/XPath.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- XPath.java 2000/01/31 17:03:07 1.13
+++ XPath.java 2000/02/09 20:11:11 1.14
@@ -137,7 +137,7 @@
* is thrown or not (or the problem listeners can throw their
* own RuntimeExceptions).
*/
- private org.apache.xalan.xpath.xml.ProblemListener m_problemListener =
null;
+ transient private org.apache.xalan.xpath.xml.ProblemListener
m_problemListener = null;
/**
* If m_trace is set to true, trace strings will be written
1.16 +2 -2
xml-xalan/src/org/apache/xalan/xpath/XPathProcessorImpl.java
Index: XPathProcessorImpl.java
===================================================================
RCS file:
/home/cvs/xml-xalan/src/org/apache/xalan/xpath/XPathProcessorImpl.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- XPathProcessorImpl.java 2000/02/08 14:43:51 1.15
+++ XPathProcessorImpl.java 2000/02/09 20:11:11 1.16
@@ -69,10 +69,10 @@
* tokenizing and parsing the XPath expression, and acting
* as a general interface to XPaths.
*/
-public class XPathProcessorImpl implements XPathProcessor
+public class XPathProcessorImpl implements XPathProcessor,
java.io.Serializable
{
private XPath m_xpath;
- private XPathSupport m_support;
+ transient private XPathSupport m_support;
/**
* The next token in the pattern.
1.25 +1 -1 xml-xalan/src/org/apache/xalan/xslt/Stylesheet.java
Index: Stylesheet.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/Stylesheet.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- Stylesheet.java 2000/01/28 14:21:19 1.24
+++ Stylesheet.java 2000/02/09 20:11:11 1.25
@@ -1294,7 +1294,7 @@
/**
* Factory for creating xpaths.
*/
- private XPathFactory m_xpathFactory = null;
+ transient private XPathFactory m_xpathFactory = null;
/**
* Statically init anything to do with XPath.
1.3 +1 -1 xml-xalan/src/org/apache/xalan/xslt/TemplateList.java
Index: TemplateList.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/TemplateList.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TemplateList.java 2000/01/05 23:05:32 1.2
+++ TemplateList.java 2000/02/09 20:11:11 1.3
@@ -69,7 +69,7 @@
* This class segregates the template list, and performs template
* finding services.
*/
-public class TemplateList
+public class TemplateList implements java.io.Serializable
{
/**
* Construct a TemplateList object.