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 2003/08/08 01:26:59 UTC

cvs commit: xml-xalan/c/src/xalanc/DOMSupport DOMServices.cpp

dbertoni    2003/08/07 16:26:59

  Modified:    c/src/xalanc/DOMSupport DOMServices.cpp
  Log:
  Make sure attributes are not in the default namespace.  Fixes Bugzilla 22232.
  
  Revision  Changes    Path
  1.3       +8 -1      xml-xalan/c/src/xalanc/DOMSupport/DOMServices.cpp
  
  Index: DOMServices.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/DOMSupport/DOMServices.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DOMServices.cpp	1 Jul 2003 20:33:22 -0000	1.2
  +++ DOMServices.cpp	7 Aug 2003 23:26:59 -0000	1.3
  @@ -807,7 +807,14 @@
   		{
   			clear(thePrefix);
   
  -			return thePrefixResolver.getNamespaceForPrefix(s_emptyString);
  +			if (isAttribute == true)
  +			{
  +				return 0;
  +			}
  +			else
  +			{
  +				return thePrefixResolver.getNamespaceForPrefix(s_emptyString);
  +			}
   		}
   		else
   		{
  
  
  

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