]> Some of my projects - libferris.git/commitdiff
HORRIBLE workaround for a missing method
authorAPTX <marek321@gmail.com>
Fri, 6 Apr 2012 17:30:37 +0000 (13:30 -0400)
committerAPTX <marek321@gmail.com>
Fri, 6 Apr 2012 17:30:37 +0000 (13:30 -0400)
xsltfunctions/xslt_ferris.cpp
xsltfunctions/xslt_fs.cpp
xsltfunctions/xslt_shell.cpp
xsltfunctions/xslt_string.cpp

index 6a7f5e7775ef2cbbee6de41fc0be8fc8d914b6dd..4d58d6ab7c124e27450df83dfaaf4a56d8470cb6 100644 (file)
@@ -69,7 +69,7 @@ namespace FerrisXSLT
                     if (args.size() < 3 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
                     assert( !args[1].null() );
@@ -98,7 +98,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
             }
 
@@ -151,7 +151,7 @@ namespace FerrisXSLT
                     if (args.size() < 3 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
                     assert( !args[1].null() );
@@ -183,7 +183,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
             }
 
@@ -238,7 +238,7 @@ namespace FerrisXSLT
                     if (args.size() < 3 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context );
+                        executionContext;//error( getError( buf ), context );
                     }
                     assert( !args[0].null() );
                     assert( !args[1].null() );
@@ -265,7 +265,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
                 
             }
@@ -319,7 +319,7 @@ namespace FerrisXSLT
                     if (args.size() < 1 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context );
+                        executionContext;//error( getError( buf ), context );
                     }
                     assert( !args[0].null() );
 
@@ -334,7 +334,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
             }
 
@@ -391,7 +391,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
             }
 
@@ -447,7 +447,7 @@ namespace FerrisXSLT
                     if (args.size() < 2 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context );
+                        executionContext;//error( getError( buf ), context );
                     }
                     assert( !args[0].null() );
                     assert( !args[1].null() );
@@ -505,7 +505,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
             }
 
@@ -574,7 +574,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
             }
 
@@ -643,7 +643,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
             }
 
@@ -709,7 +709,7 @@ namespace FerrisXSLT
                     if (args.size() != 1 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context );
+                        executionContext;//error( getError( buf ), context );
                     }
                     assert( !args[0].null() );
 
@@ -719,7 +719,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//error( domstr(e.what()), context );
                 }
             }
 
index c81c6a4273d6e708fa24ae3ecc2114761fdf950c..b4b6328bbf9f2a4fe10f4c8bcd2614fbe4c3416d 100644 (file)
@@ -81,7 +81,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context);
+                    executionContext;//.error( domstr(e.what()), context);
                 }
             }
 
index ec9270683c0c20398f83b6d9f370b155236b03bf..e55d356d03575eaf7dd45ed5da25b6a7fc3988d1 100644 (file)
@@ -73,7 +73,7 @@ namespace FerrisXSLT
                     if (args.size() != 1)
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
 
@@ -83,7 +83,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
             }
 
@@ -139,7 +139,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
             }
 
@@ -195,7 +195,7 @@ namespace FerrisXSLT
                     if (args.size() != 1)
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
 
@@ -208,7 +208,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
             }
 
@@ -264,7 +264,7 @@ namespace FerrisXSLT
                     if (args.size() != 2)
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
                     assert( !args[1].null() );
@@ -339,7 +339,7 @@ namespace FerrisXSLT
                         cerr << "create-dir wrong args size" << endl;
                     
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     cerr << "create-dir2 args.sz:" << args.size() << endl;
                 
@@ -362,7 +362,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
                 
             }
@@ -419,7 +419,7 @@ namespace FerrisXSLT
                     if (args.size() != 2 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                 
                     assert( !args[0].null() );
@@ -435,7 +435,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
             }
 
@@ -490,7 +490,7 @@ namespace FerrisXSLT
                     if (args.size() != 1 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                 
                     assert( !args[0].null() );
@@ -501,7 +501,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
             }
 
@@ -558,7 +558,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
             }
 
@@ -613,7 +613,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
             }
 
@@ -669,7 +669,7 @@ namespace FerrisXSLT
                     if (args.size() != 1 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                 
                     assert( !args[0].null() );
@@ -680,7 +680,7 @@ namespace FerrisXSLT
                 }
                 catch( std::exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
                 
             }
@@ -739,7 +739,7 @@ namespace FerrisXSLT
                     if (args.size() != 3 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                 
                     assert( !args[0].null() );
@@ -766,7 +766,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                        executionContext.error( domstr(e.what()), context);
+                        executionContext;//.error( domstr(e.what()), context);
                 }
             }
 
@@ -822,7 +822,7 @@ namespace FerrisXSLT
                     if (args.size() != 3 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                 
                     assert( !args[0].null() );
@@ -873,7 +873,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr(e.what()), context );
+                    executionContext;//.error( domstr(e.what()), context );
                 }
             }
 
@@ -929,7 +929,7 @@ namespace FerrisXSLT
                     if (args.size() != 2 )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                 
                     assert( !args[0].null() );
@@ -945,7 +945,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                        executionContext.error( domstr(e.what()), context);
+                        executionContext;//.error( domstr(e.what()), context);
                 }
             }
 
index 7d068d7f831cb8e1a9298f18ab23252cb5828b7f..fab4fddeb9a91d4e66815c1a1421c963a91464c4 100644 (file)
@@ -73,7 +73,7 @@ namespace FerrisXSLT
                     if (args.size() != 2)
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
                     assert( !args[1].null() );
@@ -92,7 +92,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr( e.what() ), context);
+                    executionContext;//.error( domstr( e.what() ), context);
                 }
             }
 
@@ -148,7 +148,7 @@ namespace FerrisXSLT
                     if (args.size() != 2)
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
                     assert( !args[1].null() );
@@ -165,7 +165,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr( e.what() ), context);
+                    executionContext;//.error( domstr( e.what() ), context);
                 }
             }
 
@@ -220,7 +220,7 @@ namespace FerrisXSLT
                     if (args.size() != 3)
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
                     assert( !args[1].null() );
@@ -233,7 +233,7 @@ namespace FerrisXSLT
                     if( oldv.empty() || newv.empty() )
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     
                     replace_if( str.begin(), str.end(),
@@ -247,7 +247,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr( e.what() ), context);
+                    executionContext;//.error( domstr( e.what() ), context);
                 }
             }
 
@@ -302,7 +302,7 @@ namespace FerrisXSLT
                     if (args.size() != 1)
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
                     assert( !args[0].null() );
 
@@ -319,7 +319,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr( e.what() ), context );
+                    executionContext;//.error( domstr( e.what() ), context );
                 }
             }
 
@@ -382,7 +382,7 @@ namespace FerrisXSLT
                     if (args.size() != 0)
                     {
                         XalanDOMString buf;
-                        executionContext.error( getError( buf ), context);
+                        executionContext;//.error( getError( buf ), context);
                     }
 
                     ++Counter;
@@ -392,7 +392,7 @@ namespace FerrisXSLT
                 }
                 catch( exception& e )
                 {
-                    executionContext.error( domstr( e.what() ), context );
+                    executionContext;//.error( domstr( e.what() ), context );
                 }
             }