You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jd...@locus.apache.org on 2000/03/08 17:28:19 UTC
cvs commit: xml-xalan/c/src/XSLT XSLTEngineImpl.cpp XSLTEngineImpl.hpp
jdonohue 00/03/08 08:28:19
Modified: c/src/XSLT XSLTEngineImpl.cpp XSLTEngineImpl.hpp
Log:
Removed unused key table code
Revision Changes Path
1.14 +1 -3 xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp
Index: XSLTEngineImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- XSLTEngineImpl.cpp 2000/03/07 16:21:01 1.13
+++ XSLTEngineImpl.cpp 2000/03/08 16:28:18 1.14
@@ -55,7 +55,7 @@
* <http://www.apache.org/>.
*/
/**
- * $Id: XSLTEngineImpl.cpp,v 1.13 2000/03/07 16:21:01 dbertoni Exp $
+ * $Id: XSLTEngineImpl.cpp,v 1.14 2000/03/08 16:28:18 jdonohue Exp $
*
* $State: Exp $
*
@@ -256,7 +256,6 @@
m_stylesheetLocatorStack(),
m_variableStacks(*this),
m_problemListener(new ProblemListenerDefault()),
- m_needToBuildKeysTable(false),
m_stylesheetRoot(0),
m_stylesheetExecutionContext(0),
m_XSLNameSpaceURL(s_DefaultXSLNameSpaceURL),
@@ -278,7 +277,6 @@
m_xpathEnvSupport(xpathEnvSupport),
m_flistener(0),
m_contextNodeList(),
- m_keyDeclarations(),
m_keys(),
m_namedTemplates(),
m_topLevelVariables(),
1.15 +1 -46 xml-xalan/c/src/XSLT/XSLTEngineImpl.hpp
Index: XSLTEngineImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.hpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- XSLTEngineImpl.hpp 2000/03/07 18:02:04 1.14
+++ XSLTEngineImpl.hpp 2000/03/08 16:28:18 1.15
@@ -59,7 +59,7 @@
/**
*
- * $Id: XSLTEngineImpl.hpp,v 1.14 2000/03/07 18:02:04 jdonohue Exp $
+ * $Id: XSLTEngineImpl.hpp,v 1.15 2000/03/08 16:28:18 jdonohue Exp $
*
* $State: Exp $
*
@@ -1577,18 +1577,6 @@
m_contextNodeList = ref;
}
- /**
- * Add a declaration to the table of KeyDeclaration objects.
- *
- * @param KeyDeclaration declaration to add
- */
- void
- addKeyDeclaration(const KeyDeclaration& theDeclaration)
- {
- m_keyDeclarations.push_back(theDeclaration);
- setNeedToBuildKeysTable(true);
- }
-
// $$$ ToDO: Are these next two really needed?
/**
* Set the table of KeyDeclaration objects, which are set by the
@@ -1639,32 +1627,6 @@
}
/**
- * Set needToBuildKeysTable to true if an xsl:key directive is found.
- * Mainly for use by the XMLParserLiaison classes for optimized processing
- * of keys.
- *
- * @param b boolean value to set
- */
- void
- setNeedToBuildKeysTable(bool b)
- {
- m_needToBuildKeysTable = b;
- }
-
- /**
- * Set the needToBuildKeysTable property, which, if true, will trigger the
- * building of the keys table. Mainly for use by the XMLParserLiaison
- * classes for optimized processing of keys.
- *
- * @return true to build keys table
- */
- bool
- getNeedToBuildKeysTable() const
- {
- return m_needToBuildKeysTable;
- }
-
- /**
* Add a named template to the table of template name and value pairs.
*
* @param theName name of template
@@ -2183,13 +2145,6 @@
* own RuntimeExceptions).
*/
ProblemListener* m_problemListener;
-
- /**
- * This is set to true if an xsl:id directive is found.
- * Mainly for use by the XMLParserLiaison classes for
- * optimized processing of ids.
- */
- bool m_needToBuildKeysTable;
/**
* Print a trace of a template that is being called, either by