bloritsch    01/10/31 13:57:09

  Modified:    src/java/org/apache/avalon/excalibur/component
                        ExcaliburComponentManager.java
               src/java/org/apache/avalon/excalibur/xml/xpath
                        XPathProcessor.java
               src/scratchpad/org/apache/avalon/excalibur/i18n/test
                        XmlBundleTestCase.xtest
  Log:
  Fixes to testcases
  
  Revision  Changes    Path
  1.10      +8 -6      
jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/component/ExcaliburComponentManager.java
  
  Index: ExcaliburComponentManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/component/ExcaliburComponentManager.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ExcaliburComponentManager.java    2001/10/25 15:57:37     1.9
  +++ ExcaliburComponentManager.java    2001/10/31 21:57:09     1.10
  @@ -33,16 +33,16 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Paul Russell</a>
  - * @version CVS $Revision: 1.9 $ $Date: 2001/10/25 15:57:37 $
  + * @version CVS $Revision: 1.10 $ $Date: 2001/10/31 21:57:09 $
    * @since 4.0
    */
   public class ExcaliburComponentManager
       extends AbstractLoggable
  -    implements ComponentManager, 
  -               Configurable, 
  -               Contextualizable, 
  -               Initializable, 
  -               Disposable, 
  +    implements ComponentManager,
  +               Configurable,
  +               Contextualizable,
  +               Initializable,
  +               Disposable,
                  RoleManageable,
                  LogKitManageable
   {
  @@ -270,6 +270,8 @@
               try
               {
                   final String className = m_roles.getDefaultClassNameForRole( 
role );
  +                if (getLogger().isDebugEnabled())
  +                    getLogger().debug(role + "=" + className);
                   final Class componentClass = m_loader.loadClass( className );
   
                   final Configuration configuration = new 
DefaultConfiguration( "", "-" );
  
  
  
  1.3       +2 -2      
jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/xml/xpath/XPathProcessor.java
  
  Index: XPathProcessor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/xml/xpath/XPathProcessor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XPathProcessor.java       2001/10/30 21:14:53     1.2
  +++ XPathProcessor.java       2001/10/31 21:57:09     1.3
  @@ -15,14 +15,14 @@
    * This is the interface of the XPath processor.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Davanum Srinivas</a>
  - * @version CVS $Revision: 1.2 $ $Date: 2001/10/30 21:14:53 $ $Author: 
bloritsch $
  + * @version CVS $Revision: 1.3 $ $Date: 2001/10/31 21:57:09 $ $Author: 
bloritsch $
    */
   public interface XPathProcessor extends Component
   {
     /**
      * The role implemented by an <code>XSLTProcessor</code>.
      */
  -  String ROLE = "org.apache.cocoon.components.xpath.XPathProcessor";
  +  String ROLE = "org.apache.avalon.excalibur.xml.xpath.XPathProcessor";
   
     /**
      * Use an XPath string to select a single node. XPath namespace
  
  
  
  1.3       +2 -2      
jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/test/XmlBundleTestCase.xtest
  
  Index: XmlBundleTestCase.xtest
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/test/XmlBundleTestCase.xtest,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XmlBundleTestCase.xtest   2001/10/31 21:21:14     1.2
  +++ XmlBundleTestCase.xtest   2001/10/31 21:57:09     1.3
  @@ -11,7 +11,7 @@
       </roles>
       <context/>
       <logkit/>
  -    <components>
  -        <xpath-processor/>
  +    <components/>
  +        <xpath-processor 
class="org.apache.avalon.excalibur.xml.xpath.XPathProcessorImpl"/>
       </components>
   </testcase>
  
  
  

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

Reply via email to