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 2001/06/06 23:52:51 UTC

cvs commit: xml-xalan/c/src/XSLT ResultNamespacesStack.cpp

dbertoni    01/06/06 14:52:51

  Modified:    c/src/XSLT ResultNamespacesStack.cpp
  Log:
  Make sure both prefix and namespace URI are empty.
  
  Revision  Changes    Path
  1.5       +2 -1      xml-xalan/c/src/XSLT/ResultNamespacesStack.cpp
  
  Index: ResultNamespacesStack.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ResultNamespacesStack.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ResultNamespacesStack.cpp	2001/05/14 01:03:10	1.4
  +++ ResultNamespacesStack.cpp	2001/06/06 21:52:49	1.5
  @@ -97,7 +97,8 @@
   
   	// If the last vector contains only an empty namespace, replace it with a
   	// new vector containing only this namespace
  -	if(isEmpty(theCurrentNamespace.getURI()))
  +	if(length(theCurrentNamespace.getURI()) == 0 &&
  +	   length(theCurrentNamespace.getPrefix()) == 0)
   	{
   		theCurrentNamespace.setPrefix(thePrefix);
   
  
  
  

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