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/05/02 17:41:19 UTC

cvs commit: xml-xalan/c/src/TestXSLT process.cpp

dbertoni    01/05/02 08:41:19

  Modified:    c/src/TestXSLT process.cpp
  Log:
  Removed option to use DOM for RTFs.
  
  Revision  Changes    Path
  1.63      +7 -17     xml-xalan/c/src/TestXSLT/process.cpp
  
  Index: process.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/TestXSLT/process.cpp,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- process.cpp	2001/04/12 19:25:57	1.62
  +++ process.cpp	2001/05/02 15:41:14	1.63
  @@ -157,6 +157,13 @@
   
   
   
  +//#define XALAN_VQ_SPECIAL_TRACE
  +#if defined(XALAN_VQ_SPECIAL_TRACE)
  +#include "C:/Program Files/Rational/Quantify/pure.h"
  +#endif
  +
  +
  +
   #if !defined (XALAN_NO_NAMESPACES)
   using std::cerr;
   using std::cout;
  @@ -221,8 +228,6 @@
   		 << endl
   		 << " [-XST (Use source tree formatter.  Formats to Xalan source tree, then formats XML for output.)]"
   		 << endl
  -		 << " [-DRTF (Use the Xerces DOM for generating Result Tree Fragments, instead of the Xalan source tree.]"
  -		 << endl
   		 << " [-PARAM name expression (Sets a stylesheet parameter.)]"
   		 << endl
   		 << " [-XD Use Xerces DOM instead of Xalan source tree.]"
  @@ -278,7 +283,6 @@
   	bool formatToNull;
   	bool formatToSourceTree;
   	bool useDOM;
  -	bool useDOMForRTFs;
   	int indentAmount;
   	int outputType;
   	CharVectorType outFileName;
  @@ -305,7 +309,6 @@
   		formatToNull(false),
   		formatToSourceTree(false),
   		useDOM(false),
  -		useDOMForRTFs(false),
   		indentAmount(-1),
   		outputType(-1),
   		outFileName(),
  @@ -550,10 +553,6 @@
   
   			p.formatToSourceTree = true;
   		}
  -		else if(!compareNoCase("-DRTF", argv[i]))
  -		{
  -			p.useDOMForRTFs = true;
  -		}
   		else if(!compareNoCase("-NULL", argv[i]))
   		{
   			p.formatToNull = true;
  @@ -1011,8 +1010,6 @@
   		theXercesParserLiaison.setExecutionContext(theExecutionContext);
   	}
   
  -	theExecutionContext.setUseDOMResultTreeFactory(params.useDOMForRTFs);
  -
   	if (stylesheet == 0)
   	{
   		// No stylesheet, so our only hope is that the xml file has
  @@ -1125,13 +1122,6 @@
   
   	return 0;
   }
  -
  -
  -
  -//#define XALAN_VQ_SPECIAL_TRACE
  -#if defined(XALAN_VQ_SPECIAL_TRACE)
  -#include "d:/Rational/Quantify/pure.h"
  -#endif
   
   
   
  
  
  

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