dbertoni    01/06/15 15:11:12

  Modified:    c/src/TestXPath TestXPath.cpp
  Log:
  Fixed argument.
  
  Revision  Changes    Path
  1.31      +4 -19     xml-xalan/c/src/TestXPath/TestXPath.cpp
  
  Index: TestXPath.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/TestXPath/TestXPath.cpp,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- TestXPath.cpp     2001/05/14 00:59:08     1.30
  +++ TestXPath.cpp     2001/06/15 22:11:09     1.31
  @@ -131,7 +131,6 @@
                        XPathProcessor&                 theXPathProcessor,
                        XPath&                                  theXPath,
                        const XalanDOMString&   theXPathString,
  -                     XPathEnvSupport&                theXPathEnvSupport,
                        XalanNode*                              theContextNode,
                        const PrefixResolver&   thePrefixResolver,
                        const NodeRefListBase&  theContextNodeList,
  @@ -139,8 +138,7 @@
   {
        theXPathProcessor.initXPath(theXPath,
                                                                theXPathString,
  -                                                             
thePrefixResolver,
  -                                                             
theXPathEnvSupport);
  +                                                             
thePrefixResolver);
   
        const XObjectPtr theResult =
                theXPath.execute(theContextNode, thePrefixResolver, 
theContextNodeList, theExecutionContext);
  @@ -157,7 +155,6 @@
                        const XalanDOMString&   theXPathString,
                        PrintWriter&                    thePrintWriter,
                        double                                  
theExpectedResult,
  -                     XPathEnvSupport&                theXPathEnvSupport,
                        XalanNode*                              theContextNode,
                        const PrefixResolver&   thePrefixResolver,
                        const NodeRefListBase&  theContextNodeList,
  @@ -169,7 +166,6 @@
                ExecuteXPath(theXPathProcessor,
                                         theXPath,
                                         theXPathString,
  -                                      theXPathEnvSupport,
                                         theContextNode,
                                         thePrefixResolver,
                                         theContextNodeList,
  @@ -207,7 +203,6 @@
                        const XalanDOMString&   theXPathString,
                        PrintWriter&                    thePrintWriter,
                        const XalanDOMString&   theExpectedResult,
  -                     XPathEnvSupport&                theXPathEnvSupport,
                        XalanNode*                              theContextNode,
                        const PrefixResolver&   thePrefixResolver,
                        const NodeRefListBase&  theContextNodeList,
  @@ -219,7 +214,6 @@
                ExecuteXPath(theXPathProcessor,
                                         theXPath,
                                         theXPathString,
  -                                      theXPathEnvSupport,
                                         theContextNode,
                                         thePrefixResolver,
                                         theContextNodeList,
  @@ -260,7 +254,6 @@
                        const XalanDOMString&           theXPathString,
                        PrintWriter&                    thePrintWriter,
                        bool                                    
theExpectedResult,
  -                     XPathEnvSupport&                theXPathEnvSupport,
                        XalanNode*              theContextNode,
                        const PrefixResolver&   thePrefixResolver,
                        const NodeRefListBase&  theContextNodeList,
  @@ -272,7 +265,6 @@
                ExecuteXPath(theXPathProcessor,
                                         theXPath,
                                         theXPathString,
  -                                      theXPathEnvSupport,
                                         theContextNode,
                                         thePrefixResolver,
                                         theContextNodeList,
  @@ -457,7 +449,6 @@
                ExecuteXPath(theXPathProcessor,
                                         *theXPath,
                                         theContextNodeMatchPattern,
  -                                      theXPathEnvSupport,
                                         theDocument,
                                         thePrefixResolver,
                                         theContextNodeList,
  @@ -551,8 +542,7 @@
   
                                theXPathProcessor.initXPath(*theXPath,
                                                                                
        theXPathString,
  -                                                                             
        thePrefixResolver,
  -                                                                             
        theXPathEnvSupport);
  +                                                                             
        thePrefixResolver);
   
                                bool    fDump = false;
   
  @@ -664,8 +654,7 @@
   
                                theXPathProcessor.initXPath(*theXPath1,
                                                                                
        TranscodeFromLocalCodePage("following-sibling::*"),
  -                                                                             
        thePrefixResolver,
  -                                                                             
        theXPathEnvSupport);
  +                                                                             
        thePrefixResolver);
   
                                XPath* const    theXPath2 = 
theXPathFactory.create();
   
  @@ -674,8 +663,7 @@
   
                                theXPathProcessor.initXPath(*theXPath2,
                                                                                
        TranscodeFromLocalCodePage("descendant::*"),
  -                                                                             
        thePrefixResolver,
  -                                                                             
        theXPathEnvSupport);
  +                                                                             
        thePrefixResolver);
   
                                bool    fDump = false;
   
  @@ -846,7 +834,6 @@
                                                          
TranscodeFromLocalCodePage(theNumericTestInput[i]),
                                                          thePrintWriter,
                                                          
theNumericTestExpectedOutput[i],
  -                                                       theXPathEnvSupport,
                                                          0,
                                                          
ElementPrefixResolverProxy(0, theXPathEnvSupport, theDOMSupport),
                                                          NodeRefList(),
  @@ -977,7 +964,6 @@
                                                         
TranscodeFromLocalCodePage(theStringTestInput[i]),
                                                         thePrintWriter,
                                                         
TranscodeFromLocalCodePage(theStringTestExpectedOutput[i]),
  -                                                      theXPathEnvSupport,
                                                         0,
                                                         
ElementPrefixResolverProxy(0, theXPathEnvSupport, theDOMSupport),
                                                         NodeRefList(),
  @@ -1112,7 +1098,6 @@
                                                          
TranscodeFromLocalCodePage(theBooleanTestInput[i]),
                                                          thePrintWriter,
                                                          
theBooleanTestExpectedOutput[i],
  -                                                       theXPathEnvSupport,
                                                          0,
                                                          
ElementPrefixResolverProxy(0, theXPathEnvSupport, theDOMSupport),
                                                          NodeRefList(),
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to