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/03/02 20:11:50 UTC

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

dbertoni    01/03/02 11:11:50

  Modified:    c/src/XSLT StylesheetExecutionContextDefault.cpp
                        XSLTEngineImpl.cpp
  Log:
  Added PrefixResolver support.
  
  Revision  Changes    Path
  1.57      +8 -0      xml-xalan/c/src/XSLT/StylesheetExecutionContextDefault.cpp
  
  Index: StylesheetExecutionContextDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetExecutionContextDefault.cpp,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- StylesheetExecutionContextDefault.cpp	2001/03/02 15:36:29	1.56
  +++ StylesheetExecutionContextDefault.cpp	2001/03/02 19:11:34	1.57
  @@ -855,6 +855,8 @@
   					theResultTreeFrag.get(),
   					0);
   
  +		tempFormatter.setPrefixResolver(&m_xsltProcessor);
  +
   		theResultTreeFrag->setOwnerDocument(theDocument);
   
   		StylesheetExecutionContext::OutputContextPushPop	theOutputContextPushPop(
  @@ -871,6 +873,8 @@
   					theDocument,
   					theResultTreeFrag.get());
   
  +		tempFormatter.setPrefixResolver(&m_xsltProcessor);
  +
   		theResultTreeFrag->setOwnerDocument(theDocument);
   
   		StylesheetExecutionContext::OutputContextPushPop	theOutputContextPushPop(
  @@ -1072,6 +1076,8 @@
   
   	m_formatterListeners.insert(theFormatter);
   
  +	theFormatter->setPrefixResolver(&m_xsltProcessor);
  +
   	return theFormatter;
   }
   
  @@ -1088,6 +1094,8 @@
   			elem);
   
   	m_formatterListeners.insert(theFormatter);
  +
  +	theFormatter->setPrefixResolver(&m_xsltProcessor);
   
   	return theFormatter;
   }
  
  
  
  1.92      +0 -5      xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp
  
  Index: XSLTEngineImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp,v
  retrieving revision 1.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- XSLTEngineImpl.cpp	2001/03/02 15:36:45	1.91
  +++ XSLTEngineImpl.cpp	2001/03/02 19:11:39	1.92
  @@ -122,11 +122,6 @@
   
   
   
  -#include <XalanSourceTree/XalanSourceTreeDocument.hpp>
  -#include <XalanSourceTree/FormatterToSourceTree.hpp>
  -
  -
  -
   #include "Constants.hpp"
   #include "ElemWithParam.hpp"
   #include "FunctionCurrent.hpp"