sboag 00/10/18 10:05:11
Modified: java/src/org/apache/xalan/processor StylesheetHandler.java
Log:
Make the m_schema non-static, since it holds processors that
hold state, and are therefore not threadsafe. Work on this down the line.
Revision Changes Path
1.13 +3 -1
xml-xalan/java/src/org/apache/xalan/processor/StylesheetHandler.java
Index: StylesheetHandler.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/processor/StylesheetHandler.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- StylesheetHandler.java 2000/10/13 02:33:09 1.12
+++ StylesheetHandler.java 2000/10/18 17:05:09 1.13
@@ -923,8 +923,10 @@
/**
* The root of the XSLT Schema, which tells us how to
* transition content handlers, create elements, etc.
+ * For the moment at least, this can't be static, since
+ * the processors store state.
*/
- private static XSLTSchema m_schema = new XSLTSchema();
+ private XSLTSchema m_schema = new XSLTSchema();
/**
* Get the root of the XSLT Schema, which tells us how to