jdonohue 00/03/08 12:56:19
Modified: c/src/XSLT XSLTEngineImpl.cpp XSLTEngineImpl.hpp
Log:
Removed unused key table code
Revision Changes Path
1.15 +1 -2 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.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- XSLTEngineImpl.cpp 2000/03/08 16:28:18 1.14
+++ XSLTEngineImpl.cpp 2000/03/08 20:56:18 1.15
@@ -55,7 +55,7 @@
* <http://www.apache.org/>.
*/
/**
- * $Id: XSLTEngineImpl.cpp,v 1.14 2000/03/08 16:28:18 jdonohue Exp $
+ * $Id: XSLTEngineImpl.cpp,v 1.15 2000/03/08 20:56:18 jdonohue Exp $
*
* $State: Exp $
*
@@ -277,7 +277,6 @@
m_xpathEnvSupport(xpathEnvSupport),
m_flistener(0),
m_contextNodeList(),
- m_keys(),
m_namedTemplates(),
m_topLevelVariables(),
m_needToCheckForInfiniteLoops(false),
1.17 +1 -52 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.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- XSLTEngineImpl.hpp 2000/03/08 16:33:50 1.16
+++ XSLTEngineImpl.hpp 2000/03/08 20:56:18 1.17
@@ -59,7 +59,7 @@
/**
*
- * $Id: XSLTEngineImpl.hpp,v 1.16 2000/03/08 16:33:50 jdonohue Exp $
+ * $Id: XSLTEngineImpl.hpp,v 1.17 2000/03/08 20:56:18 jdonohue Exp $
*
* $State: Exp $
*
@@ -240,14 +240,6 @@
#if defined(XALAN_HASH_CONTAINERS_AVAILABLE)
typedef hash_map<DOM_Node, int, DOM_NodeHashFunction>
XSLDirectiveMapType;
typedef hash_map<DOMString,
- MutableNodeRefList,
- DOMStringHashFunction,
- DOMStringEqualsFunction>
NodeListMapType;
- typedef hash_map<DOMString,
- NodeListMapType,
- DOMStringHashFunction,
- DOMStringEqualsFunction>
KeysMapType;
- typedef hash_map<DOMString,
DOM_Node,
DOMStringHashFunction,
DOMStringEqualsFunction>
NamedTemplatesMapType;
@@ -258,10 +250,6 @@
#else
typedef XALAN_STD map<DOM_Node, int>
XSLDirectiveMapType;
typedef XALAN_STD map<DOMString,
- MutableNodeRefList> NodeListMapType;
- typedef XALAN_STD map<DOMString,
- NodeListMapType>
KeysMapType;
- typedef XALAN_STD map<DOMString,
DOM_Node> NamedTemplatesMapType;
typedef XALAN_STD map<DOMString,
Stylesheet*>
StylesheetMapType;
@@ -1578,31 +1566,6 @@
}
/**
- * Set the table of keys. This will be used by the key() and keyref()
- * functions for lookup of a nodelist.
- *
- * @param table new table of keys
- */
- void
- setKeyTable(const KeysMapType& table)
- {
- m_keys = table;
- }
-
- /**
- * Accessor method for the table of element IDs. This table is
used by
- * the id() functions for lookup of an element ID.
- *
- * @return table of element IDs, keyed by ID string, with values that
are
- * Element nodes
- */
- const KeysMapType&
- getKeysTable()
- {
- return m_keys;
- }
-
- /**
* Add a named template to the table of template name and value pairs.
*
* @param theName name of template
@@ -2475,20 +2438,6 @@
* passed by parameter.
*/
MutableNodeRefList m_contextNodeList;
-
- /**
- * Table of element keys. The table will be built on demand,
- * when a key is requested, or set by the XMLParserLiaison or
- * the caller. The table is:
- * a) keyed by name,
- * b) each with a value of a hashtable, keyed by the value returned by
- * the use attribute,
- * c) each with a value that is a nodelist.
- * Thus, for a given key or keyref, look up hashtable by name,
- * look up the nodelist by the given reference.
- */
- KeysMapType m_keys;
-
/**
* Keyed on string macro names, and holding values that are macro
elements