cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor AbstractProcessingNodeBuilder.java
Date Thu, 02 May 2002 20:20:00 GMT
sylvain     02/05/02 13:20:00

  Modified:    src/java/org/apache/cocoon/components/treeprocessor Tag:
                        cocoon_2_0_3_branch
                        AbstractProcessingNodeBuilder.java
  Log:
  Fix ClassCastException reported by Horst Rutter (horu@objectleague.com)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +3 -2      xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/AbstractProcessingNodeBuilder.java
  
  Index: AbstractProcessingNodeBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/AbstractProcessingNodeBuilder.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- AbstractProcessingNodeBuilder.java	17 Mar 2002 21:55:22 -0000	1.2
  +++ AbstractProcessingNodeBuilder.java	2 May 2002 20:19:59 -0000	1.2.2.1
  @@ -64,7 +64,7 @@
   /**
    *
    * @author <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
  - * @version CVS $Id: AbstractProcessingNodeBuilder.java,v 1.2 2002/03/17 21:55:22 sylvain
Exp $
  + * @version CVS $Id: AbstractProcessingNodeBuilder.java,v 1.2.2.1 2002/05/02 20:19:59 sylvain
Exp $
    */
   
   
  @@ -103,9 +103,10 @@
           for (int i = 0; i < children.length; i++) {
               Configuration child = children[i];
               if (true) { // FIXME : check namespace
  +                String name = child.getAttribute("name");
                   String value = child.getAttribute("value");
                   try {
  -                    params.put(child.getAttribute("name"), MapStackResolver.getResolver(value));
  +                    params.put(MapStackResolver.getResolver(name), MapStackResolver.getResolver(value));
                   } catch(PatternException pe) {
                       String msg = "Invalid pattern '" + value + " at " + child.getLocation();
                       getLogger().error(msg, pe);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message