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/12/01 22:02:55 UTC

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

dbertoni    00/12/01 13:02:55

  Modified:    c/src/XSLT Stylesheet.cpp
  Log:
  Make sure we push something onto the include stack.
  
  Revision  Changes    Path
  1.44      +5 -1      xml-xalan/c/src/XSLT/Stylesheet.cpp
  
  Index: Stylesheet.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/Stylesheet.cpp,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- Stylesheet.cpp	2000/11/27 21:44:48	1.43
  +++ Stylesheet.cpp	2000/12/01 21:02:54	1.44
  @@ -150,7 +150,11 @@
   	m_prefixAliases(),
   	m_namespacesHandler()
   {
  -	if (length(m_baseIdent) != 0)
  +	if (length(m_baseIdent) == 0)
  +	{
  +		m_includeStack.push_back(m_baseIdent);
  +	}
  +	else
   	{
   		const XalanDOMString urlString = constructionContext.getURLStringFromString(m_baseIdent);