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/09/10 19:17:48 UTC

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

dbertoni    01/09/10 10:17:48

  Modified:    c/src/DOMSupport DOMServices.cpp
  Log:
  Fix for bug 3526.
  
  Revision  Changes    Path
  1.31      +1 -1      xml-xalan/c/src/DOMSupport/DOMServices.cpp
  
  Index: DOMServices.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/DOMSupport/DOMServices.cpp,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- DOMServices.cpp	2001/07/23 01:37:56	1.30
  +++ DOMServices.cpp	2001/09/10 17:17:47	1.31
  @@ -756,7 +756,7 @@
   		// Consider elements until NS is resolved, or we run out of
   		// ancestors, or we hit something other than an Element or 
   		// EntityReference node (ie, Document or DocumentFragment)
  -		while (parent != 0 && length(*theNamespace) == 0
  +		while (parent != 0 && theNamespace == 0
   			&& ((type = parent->getNodeType()) == XalanNode::ELEMENT_NODE
   				|| type == XalanNode::ENTITY_REFERENCE_NODE)) 
   		{
  
  
  

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