]> Some of my projects - libferris.git/commitdiff
Xerces fixes
authorAPTX <marek321@gmail.com>
Fri, 6 Apr 2012 15:54:15 +0000 (11:54 -0400)
committerAPTX <marek321@gmail.com>
Fri, 27 Apr 2012 22:12:54 +0000 (18:12 -0400)
apps/xml/CGITransform/CGIFerrisTransform.cpp
apps/xml/XSLTransform/XSLTransform.cpp
plugins/context/xsltfs/libferrisxsltfs.cpp
xsltfunctions/FerrisXalanTransform.cpp

index fba034d234c758ce1b4c724bbc3da501e3800488..1b28138bcb95c9baff44edcea887531b579637cd 100644 (file)
@@ -272,8 +272,8 @@ public:
                        const XSLTInputSource& XSLTURL,
                        const XSLTResultTarget& theOut )
         {
-            XercesDOMSupport theDOMSupport;
-            XercesParserLiaison theParserLiaison(theDOMSupport);
+            XercesParserLiaison theParserLiaison;
+            XercesDOMSupport theDOMSupport(theParserLiaison);
         
             DG() << "Creating the parsed source..." << endl;
             const XercesDOMWrapperParsedSource parsedSource(
@@ -303,8 +303,8 @@ public:
                                                      0 );
             DOMElement* root_element = doc->getDocumentElement();
             
-            XercesDOMSupport theDOMSupport;
-            XercesParserLiaison theParserLiaison(theDOMSupport);
+            XercesParserLiaison theParserLiaison;
+            XercesDOMSupport theDOMSupport(theParserLiaison);
 
             FormatterToXercesDOM theFormatter( doc, root_element );
             XSLTResultTarget theDOMResultTarget( theFormatter );
index 6d61079a9a70d42fb4ff125e959fcd7ea0ba16be..924fbefae8a1b73fb05b81865fbc016aad9952e6 100644 (file)
@@ -595,8 +595,8 @@ int main( int argc, const char** argv )
         
 //        theDOM->normalize();
 
-        XercesDOMSupport theDOMSupport;
-        XercesParserLiaison theParserLiaison(theDOMSupport);
+        XercesParserLiaison theParserLiaison;
+        XercesDOMSupport theDOMSupport(theParserLiaison);
         
         cerr << "Creating the parsed source..." << endl;
         const XercesDOMWrapperParsedSource parsedSource(
index c822c8ca9c8f89098826cecf698f15ccc3349de4..e9d4aaa59e06178a310a4c4bd3092958bef0a37a 100644 (file)
@@ -399,8 +399,8 @@ namespace Ferris
                 }
 
                 
-                XercesDOMSupport theDOMSupport;
-                XercesParserLiaison theParserLiaison(theDOMSupport);
+                XercesParserLiaison theParserLiaison;
+                XercesDOMSupport theDOMSupport(theParserLiaison);
 
                 const XercesDOMWrapperParsedSource parsedSource(
                     GetImpl(inputDOM), theParserLiaison, theDOMSupport );
@@ -803,8 +803,8 @@ namespace Ferris
                     
                 LG_XSLTFS_D << "xmlContext:" << xmlContext->getURL() << endl;
                     
-                XercesDOMSupport theDOMSupport;
-                XercesParserLiaison theParserLiaison(theDOMSupport);
+                XercesParserLiaison theParserLiaison;
+                XercesDOMSupport theDOMSupport(theParserLiaison);
 
                 const XercesDOMWrapperParsedSource parsedSource(
                     GetImpl(theDOM), theParserLiaison, theDOMSupport );
@@ -1360,8 +1360,8 @@ namespace Ferris
                     
 //                 LG_XSLTFS_D << "xmlContext:" << xmlContext->getURL() << endl;
                     
-//                 XercesDOMSupport theDOMSupport;
-//                 XercesParserLiaison theParserLiaison(theDOMSupport);
+//                 XercesParserLiaison theParserLiaison;
+//                 XercesDOMSupport theDOMSupport(theParserLiaison);
 
 //                 const XercesDOMWrapperParsedSource parsedSource(
 //                     GetImpl(theDOM), theParserLiaison, theDOMSupport );
index 655ab3585ae95de31bed869f2bd0eac3123d57c3..487c1f3f6397923ad837e7930ad3d1d930382385 100644 (file)
@@ -124,8 +124,8 @@ int main( int argc, char** argv )
             fh_domdoc theDOM = Factory::makeDOM( xmlContext );
             cerr << "have the DOM" << endl;
             
-            XercesDOMSupport theDOMSupport;
-            XercesParserLiaison theParserLiaison(theDOMSupport);
+            XercesParserLiaison theParserLiaison;
+            XercesDOMSupport theDOMSupport(theParserLiaison);
             cerr << "about to make ParsedSource..." << endl;
 
             const XercesDOMWrapperParsedSource parsedSource(