dbertoni 01/12/19 14:08:02 Modified: c/src/XSLT StylesheetRoot.cpp Log: Names of keys should be QNames. Revision Changes Path 1.54 +4 -2 xml-xalan/c/src/XSLT/StylesheetRoot.cpp Index: StylesheetRoot.cpp =================================================================== RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetRoot.cpp,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- StylesheetRoot.cpp 2001/09/26 21:30:23 1.53 +++ StylesheetRoot.cpp 2001/12/19 22:08:02 1.54 @@ -639,9 +639,11 @@ const KeyTablesTableType::const_iterator i = theKeysTable.find(doc); + const XalanQNameByValue theQName(name, &resolver); + if (i != theKeysTable.end()) { - const NodeRefListBase& nl = (*i).second->getNodeSetByKey(name, ref); + const NodeRefListBase& nl = (*i).second->getNodeSetByKey(theQName, ref); nodelist.addNodesInDocOrder(nl, executionContext); } @@ -657,7 +659,7 @@ theKeysTable[doc] = kt; - const NodeRefListBase& nl = kt->getNodeSetByKey(name, ref); + const NodeRefListBase& nl = kt->getNodeSetByKey(theQName, ref); nodelist.addNodesInDocOrder(nl, executionContext); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]