You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2001/10/30 22:14:54 UTC

cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/test XMLResourceBundleTestCase.java XMLResourceBundleFactoryTestCase.java

bloritsch    01/10/30 13:14:54

  Modified:    .        build.xml
               lib      README
               src/java/org/apache/avalon/excalibur/xml/xpath
                        JaxenProcessorImpl.java XPathProcessor.java
                        XPathProcessorImpl.java
               src/scratchpad/org/apache/avalon/excalibur/i18n/test
                        XMLResourceBundleTestCase.java
  Removed:     src/scratchpad/org/apache/avalon/excalibur/i18n/test
                        XMLResourceBundleFactoryTestCase.java
  Log:
  remove unneeded test as there is no more a XML Bundle Factory
  
  Revision  Changes    Path
  1.68      +1 -1      jakarta-avalon-excalibur/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/build.xml,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- build.xml	2001/10/30 20:13:44	1.67
  +++ build.xml	2001/10/30 21:14:53	1.68
  @@ -171,7 +171,7 @@
       <available property="jms.present" classname="javax.jms.Queue">
         <classpath refid="project.class.path"/>
       </available>
  -    <available property="jaxen.present" classname="XPath">
  +    <available property="jaxen.present" classname="org.jaxen.dom.XPath">
         <classpath refid="project.class.path"/>
       </available>
     </target>
  
  
  
  1.2       +4 -1      jakarta-avalon-excalibur/lib/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/lib/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README	2001/07/19 07:39:23	1.1
  +++ README	2001/10/30 21:14:53	1.2
  @@ -1 +1,4 @@
  -Place any third party jars here.
  \ No newline at end of file
  +Place any third party jars here.
  +
  +You can find the latest Jaxen at:
  +http://sourceforge.net/project/showfiles.php?group_id=31447
  
  
  
  1.2       +4 -2      jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/xml/xpath/JaxenProcessorImpl.java
  
  Index: JaxenProcessorImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/xml/xpath/JaxenProcessorImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JaxenProcessorImpl.java	2001/10/29 18:26:30	1.1
  +++ JaxenProcessorImpl.java	2001/10/30 21:14:53	1.2
  @@ -15,8 +15,10 @@
   
   import org.w3c.dom.NodeList;
   
  +import org.jaxen.dom.XPath;
   
   
  +
   import java.util.List;
   
   /**
  @@ -32,11 +34,11 @@
    * </pre>
    *
    * @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
  - * @version CVS $Revision: 1.1 $ $Date: 2001/10/29 18:26:30 $ $Author: neeme $
  + * @version CVS $Revision: 1.2 $ $Date: 2001/10/30 21:14:53 $ $Author: bloritsch $
    */
   public class JaxenProcessorImpl
     extends AbstractLoggable
  -  implements XPathProcessor, Component
  +  implements XPathProcessor
   {
       /**
        * Use an XPath string to select a single node. XPath namespace
  
  
  
  1.2       +3 -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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XPathProcessor.java	2001/10/29 18:26:30	1.1
  +++ XPathProcessor.java	2001/10/30 21:14:53	1.2
  @@ -9,14 +9,15 @@
   
   import org.w3c.dom.Node;
   import org.w3c.dom.NodeList;
  +import org.apache.avalon.framework.component.Component;
   
   /**
    * This is the interface of the XPath processor.
    *
    * @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
  - * @version CVS $Revision: 1.1 $ $Date: 2001/10/29 18:26:30 $ $Author: neeme $
  + * @version CVS $Revision: 1.2 $ $Date: 2001/10/30 21:14:53 $ $Author: bloritsch $
    */
  -public interface XPathProcessor
  +public interface XPathProcessor extends Component
   {
     /**
      * The role implemented by an <code>XSLTProcessor</code>.
  
  
  
  1.2       +2 -2      jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/xml/xpath/XPathProcessorImpl.java
  
  Index: XPathProcessorImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/xml/xpath/XPathProcessorImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XPathProcessorImpl.java	2001/10/29 18:26:30	1.1
  +++ XPathProcessorImpl.java	2001/10/30 21:14:53	1.2
  @@ -26,11 +26,11 @@
    * </pre>
    *
    * @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
  - * @version CVS $Revision: 1.1 $ $Date: 2001/10/29 18:26:30 $ $Author: neeme $
  + * @version CVS $Revision: 1.2 $ $Date: 2001/10/30 21:14:53 $ $Author: bloritsch $
    */
   public class XPathProcessorImpl
     extends AbstractLoggable
  -  implements XPathProcessor, Component
  +  implements XPathProcessor
   {
       /**
        * Use an XPath string to select a single node. XPath namespace
  
  
  
  1.6       +2 -2      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/test/XMLResourceBundleTestCase.java
  
  Index: XMLResourceBundleTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/i18n/test/XMLResourceBundleTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMLResourceBundleTestCase.java	2001/09/26 20:55:53	1.5
  +++ XMLResourceBundleTestCase.java	2001/10/30 21:14:53	1.6
  @@ -17,7 +17,7 @@
   
   /**
    * @author <a href="mailto:neeme@one.lv">Neeme Praks</a>
  - * @version $Id: XMLResourceBundleTestCase.java,v 1.5 2001/09/26 20:55:53 bloritsch Exp $
  + * @version $Id: XMLResourceBundleTestCase.java,v 1.6 2001/10/30 21:14:53 bloritsch Exp $
    */
   public class XMLResourceBundleTestCase extends TestCase
   {
  @@ -36,7 +36,7 @@
           this.dictionary.put("nice", "not so nice");
           this.dictionary.put("bad", "too bad");
           this.bundle.setLogger(logger);
  -        this.bundle.init("test bundle", "test/test.xml", java.util.Locale.getDefault(), null, false);
  +        this.bundle.init("test/test.xml", false);
       }
   
       public void testSubstitute()
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>