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 2003/08/20 17:53:39 UTC

cvs commit: xml-xalan/c/samples/XalanTransformerCallback XalanTransformerCallback.cpp

dbertoni    2003/08/20 08:53:39

  Modified:    c/samples/CompileStylesheet CompileStylesheet.cpp
               c/samples/DocumentBuilder DocumentBuilder.cpp
               c/samples/ExternalFunction ExternalFunction.cpp
               c/samples/ParsedSourceWrappers ParsedSourceWrappers.cpp
               c/samples/SerializeNodeSet SerializeNodeSet.cpp
               c/samples/SimpleTransform SimpleTransform.cpp
               c/samples/SimpleXPathAPI SimpleXPathAPI.cpp
               c/samples/SimpleXPathCAPI SimpleXPathCAPI.c
               c/samples/StreamTransform StreamTransform.cpp
               c/samples/ThreadSafe ThreadSafe.cpp
               c/samples/TraceListen TraceListen.cpp
               c/samples/TransformToXercesDOM TransformToXercesDOM.cpp
               c/samples/UseStylesheetParam UseStylesheetParam.cpp
               c/samples/XPathWrapper TestDriver.cpp
               c/samples/XalanTransform XalanTransform.cpp
               c/samples/XalanTransformerCallback
                        XalanTransformerCallback.cpp
  Log:
  Removed const qualifier from argv.
  
  Revision  Changes    Path
  1.26      +2 -2      xml-xalan/c/samples/CompileStylesheet/CompileStylesheet.cpp
  
  Index: CompileStylesheet.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/CompileStylesheet/CompileStylesheet.cpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- CompileStylesheet.cpp	15 Jul 2003 18:47:48 -0000	1.25
  +++ CompileStylesheet.cpp	20 Aug 2003 15:53:38 -0000	1.26
  @@ -85,8 +85,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		/* argv */[])
  +			int		argc,
  +			char*	/* argv */[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(endl)
  
  
  
  1.11      +2 -2      xml-xalan/c/samples/DocumentBuilder/DocumentBuilder.cpp
  
  Index: DocumentBuilder.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/DocumentBuilder/DocumentBuilder.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DocumentBuilder.cpp	15 Jul 2003 18:47:48 -0000	1.10
  +++ DocumentBuilder.cpp	20 Aug 2003 15:53:38 -0000	1.11
  @@ -177,8 +177,8 @@
   
   int
   main(
  -		  int			argc,
  -		  const char*	/* argv */ [])
  +		  int		argc,
  +		  char*		/* argv */ [])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(endl)
  
  
  
  1.32      +2 -2      xml-xalan/c/samples/ExternalFunction/ExternalFunction.cpp
  
  Index: ExternalFunction.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/ExternalFunction/ExternalFunction.cpp,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- ExternalFunction.cpp	15 Jul 2003 18:47:48 -0000	1.31
  +++ ExternalFunction.cpp	20 Aug 2003 15:53:38 -0000	1.32
  @@ -361,8 +361,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		/* argv */[])
  +			int		argc,
  +			char*	/* argv */[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(endl)
  
  
  
  1.11      +4 -2      xml-xalan/c/samples/ParsedSourceWrappers/ParsedSourceWrappers.cpp
  
  Index: ParsedSourceWrappers.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/ParsedSourceWrappers/ParsedSourceWrappers.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ParsedSourceWrappers.cpp	15 Jul 2003 18:47:49 -0000	1.10
  +++ ParsedSourceWrappers.cpp	20 Aug 2003 15:53:38 -0000	1.11
  @@ -239,12 +239,14 @@
   	return theResult;
   }
   
  +
  +
   // This sample shows how existing Xerces DOMDocument instances and XalanSourceTreeDocument
   // instances can be wrapped to use as input for to an instance of XalanTransformer.
   int
   main(
  -			int				 argc,
  -			const char*		 /* argv */[])
  +			int		 argc,
  +			char*	/* argv */[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(endl)
  
  
  
  1.9       +2 -2      xml-xalan/c/samples/SerializeNodeSet/SerializeNodeSet.cpp
  
  Index: SerializeNodeSet.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/SerializeNodeSet/SerializeNodeSet.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SerializeNodeSet.cpp	15 Jul 2003 18:47:49 -0000	1.8
  +++ SerializeNodeSet.cpp	20 Aug 2003 15:53:38 -0000	1.9
  @@ -104,8 +104,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		argv[])
  +			int		argc,
  +			char*	argv[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(cout)
  
  
  
  1.22      +2 -2      xml-xalan/c/samples/SimpleTransform/SimpleTransform.cpp
  
  Index: SimpleTransform.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/SimpleTransform/SimpleTransform.cpp,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- SimpleTransform.cpp	15 Jul 2003 18:47:49 -0000	1.21
  +++ SimpleTransform.cpp	20 Aug 2003 15:53:38 -0000	1.22
  @@ -77,8 +77,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		/* argv */[])
  +			int		argc,
  +			char*	/* argv */[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(endl)
  
  
  
  1.16      +2 -2      xml-xalan/c/samples/SimpleXPathAPI/SimpleXPathAPI.cpp
  
  Index: SimpleXPathAPI.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/SimpleXPathAPI/SimpleXPathAPI.cpp,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- SimpleXPathAPI.cpp	15 Jul 2003 18:47:49 -0000	1.15
  +++ SimpleXPathAPI.cpp	20 Aug 2003 15:53:38 -0000	1.16
  @@ -92,8 +92,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		argv[])
  +			int		argc,
  +			char*	argv[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(cout)
  
  
  
  1.9       +2 -2      xml-xalan/c/samples/SimpleXPathCAPI/SimpleXPathCAPI.c
  
  Index: SimpleXPathCAPI.c
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/SimpleXPathCAPI/SimpleXPathCAPI.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SimpleXPathCAPI.c	15 Jul 2003 18:47:49 -0000	1.8
  +++ SimpleXPathCAPI.c	20 Aug 2003 15:53:38 -0000	1.9
  @@ -190,8 +190,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		argv[])
  +			int		argc,
  +			char*	argv[])
   {
   	int		theResult = 0;
   
  
  
  
  1.15      +2 -2      xml-xalan/c/samples/StreamTransform/StreamTransform.cpp
  
  Index: StreamTransform.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/StreamTransform/StreamTransform.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- StreamTransform.cpp	15 Jul 2003 18:47:49 -0000	1.14
  +++ StreamTransform.cpp	20 Aug 2003 15:53:38 -0000	1.15
  @@ -81,8 +81,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		/* argv */[])
  +			int		argc,
  +			char*	/* argv */[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(cout)
  
  
  
  1.24      +2 -2      xml-xalan/c/samples/ThreadSafe/ThreadSafe.cpp
  
  Index: ThreadSafe.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/ThreadSafe/ThreadSafe.cpp,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ThreadSafe.cpp	15 Jul 2003 18:47:49 -0000	1.23
  +++ ThreadSafe.cpp	20 Aug 2003 15:53:38 -0000	1.24
  @@ -220,8 +220,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		/* argv */[])
  +			int		argc,
  +			char*	/* argv */[])
   {
   	if (argc != 1)
   	{
  
  
  
  1.19      +2 -2      xml-xalan/c/samples/TraceListen/TraceListen.cpp
  
  Index: TraceListen.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/TraceListen/TraceListen.cpp,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- TraceListen.cpp	15 Jul 2003 18:47:50 -0000	1.18
  +++ TraceListen.cpp	20 Aug 2003 15:53:38 -0000	1.19
  @@ -89,8 +89,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		argv[])
  +			int		argc,
  +			char*	argv[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(endl)
  
  
  
  1.7       +2 -2      xml-xalan/c/samples/TransformToXercesDOM/TransformToXercesDOM.cpp
  
  Index: TransformToXercesDOM.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/TransformToXercesDOM/TransformToXercesDOM.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TransformToXercesDOM.cpp	15 Jul 2003 18:47:50 -0000	1.6
  +++ TransformToXercesDOM.cpp	20 Aug 2003 15:53:38 -0000	1.7
  @@ -195,8 +195,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		argv[])
  +			int		argc,
  +			char*	argv[])
   {
   #if !defined(NDEBUG) && defined(_MSC_VER)
   	_CrtSetDbgFlag(_CrtSetDbgFlag(_CRTDBG_REPORT_FLAG) | _CRTDBG_LEAK_CHECK_DF);
  
  
  
  1.22      +2 -2      xml-xalan/c/samples/UseStylesheetParam/UseStylesheetParam.cpp
  
  Index: UseStylesheetParam.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/UseStylesheetParam/UseStylesheetParam.cpp,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- UseStylesheetParam.cpp	15 Jul 2003 18:47:50 -0000	1.21
  +++ UseStylesheetParam.cpp	20 Aug 2003 15:53:38 -0000	1.22
  @@ -77,8 +77,8 @@
   
   int
   main(
  -		  int			argc,
  -		  const char*	argv[])
  +		  int		argc,
  +		  char*		argv[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(endl)
  
  
  
  1.15      +2 -2      xml-xalan/c/samples/XPathWrapper/TestDriver.cpp
  
  Index: TestDriver.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/XPathWrapper/TestDriver.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- TestDriver.cpp	15 Jul 2003 18:47:50 -0000	1.14
  +++ TestDriver.cpp	20 Aug 2003 15:53:38 -0000	1.15
  @@ -79,8 +79,8 @@
   
   int
   main(
  -			int				argc,
  -			const char*		argv[])
  +			int		argc,
  +			char*	argv[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(cout)
  
  
  
  1.14      +2 -2      xml-xalan/c/samples/XalanTransform/XalanTransform.cpp
  
  Index: XalanTransform.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/XalanTransform/XalanTransform.cpp,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XalanTransform.cpp	15 Jul 2003 18:47:50 -0000	1.13
  +++ XalanTransform.cpp	20 Aug 2003 15:53:38 -0000	1.14
  @@ -77,8 +77,8 @@
   
   int
   main(
  -			int				 argc,
  -			const char*		 argv[])
  +			int		argc,
  +			char*	argv[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(cout)
  
  
  
  1.13      +2 -2      xml-xalan/c/samples/XalanTransformerCallback/XalanTransformerCallback.cpp
  
  Index: XalanTransformerCallback.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/XalanTransformerCallback/XalanTransformerCallback.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- XalanTransformerCallback.cpp	15 Jul 2003 18:47:50 -0000	1.12
  +++ XalanTransformerCallback.cpp	20 Aug 2003 15:53:39 -0000	1.13
  @@ -182,8 +182,8 @@
   
   int
   main(
  -			int				 argc,
  -			const char*		 argv[])
  +			int		argc,
  +			char*	argv[])
   {
   	XALAN_USING_STD(cerr)
   	XALAN_USING_STD(cout)
  
  
  

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