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...@locus.apache.org on 2000/09/05 23:56:37 UTC

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

dbertoni    00/09/05 14:56:36

  Modified:    c/src/XSLT ElemLiteralResult.cpp
  Log:
  Fixed bug with calling NamespacesHandler::postConstruction(). (lre15)
  
  Revision  Changes    Path
  1.21      +1 -9      xml-xalan/c/src/XSLT/ElemLiteralResult.cpp
  
  Index: ElemLiteralResult.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemLiteralResult.cpp,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ElemLiteralResult.cpp	2000/09/05 02:24:52	1.20
  +++ ElemLiteralResult.cpp	2000/09/05 21:56:35	1.21
  @@ -199,15 +199,7 @@
   void
   ElemLiteralResult::postConstruction(const NamespacesHandler&	theParentHandler)
   {
  -	const XalanDOMString&	theElementName = getElementName();
  -	assert(length(theElementName) > 0);
  -
  -	const unsigned int		indexOfNSSep = indexOf(theElementName, XalanUnicode::charColon);
  -
  -	const XalanDOMString	thePrefix = indexOfNSSep < length(theElementName) ?
  -					substring(theElementName, 0, indexOfNSSep) : XalanDOMString();
  -
  -	m_namespacesHandler.postConstruction(thePrefix, &theParentHandler);
  +	m_namespacesHandler.postConstruction(getElementName(), &theParentHandler);
   
   	ElemUse::postConstruction(m_namespacesHandler);
   }