You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2004/02/05 19:27:33 UTC

cvs commit: xml-xalan/c/src/xalanc/XPath XalanQName.cpp

dbertoni    2004/02/05 10:27:33

  Modified:    c/src/xalanc/XPath XalanQName.cpp
  Log:
  Removed dead code.
  
  Revision  Changes    Path
  1.5       +0 -20     xml-xalan/c/src/xalanc/XPath/XalanQName.cpp
  
  Index: XalanQName.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XPath/XalanQName.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XalanQName.cpp	6 Jan 2004 02:41:32 -0000	1.4
  +++ XalanQName.cpp	5 Feb 2004 18:27:33 -0000	1.5
  @@ -220,27 +220,7 @@
   			const NamespacesStackType&	nsStack,
   			const XalanDOMString&		uri)
   {
  -#if 1
   	return getPrefixForNamespace(nsStack.begin(), nsStack.end(), uri);
  -#else
  -	const XalanDOMString*					thePrefix = 0;
  -
  -	const NamespacesStackType::size_type	depth = nsStack.size();
  -
  -	for(NamespacesStackType::size_type i = depth; i > 0; --i)
  -	{
  -		const NamespaceVectorType&	namespaces = nsStack[i - 1];
  -
  -		thePrefix = getPrefixForNamespace(namespaces, uri);
  -
  -		if (thePrefix != 0)
  -		{
  -			break;
  -		}
  -	}
  -
  -	return thePrefix;
  -#endif
   }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org