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/12/14 17:30:55 UTC

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

dbertoni    01/12/14 08:30:55

  Modified:    c/src/XSLT ElemAttribute.cpp
  Log:
  Make sure that a new namespace declaration is generated when an attribute's namespace is the default namespace. (namespace128, namespace130)
  
  Revision  Changes    Path
  1.32      +1 -3      xml-xalan/c/src/XSLT/ElemAttribute.cpp
  
  Index: ElemAttribute.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemAttribute.cpp,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- ElemAttribute.cpp	2001/09/26 21:30:23	1.31
  +++ ElemAttribute.cpp	2001/12/14 16:30:55	1.32
  @@ -208,10 +208,8 @@
   				const XalanDOMString*  const	prefix =
   					executionContext.getResultPrefixForNamespace(attrNameSpace);
   
  -				if(prefix != 0)
  +				if(prefix != 0 && length(*prefix) != 0)
   				{
  -					assert(length(*prefix) != 0);
  -
   					if(indexOfNSSep < origAttrNameLength)
   					{
   						reserve(
  
  
  

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