avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon/src/java/org/apache/avalon/framework/configuration SAXConfigurationHandler.java
Date Mon, 29 Oct 2001 16:22:15 GMT
bloritsch    01/10/29 08:22:15

  Modified:    src/java/org/apache/avalon/framework/configuration
                        SAXConfigurationHandler.java
  Log:
  Fix SAXConfigurationHandler to handle faulty SAX Readers that do not properly handle prefix
mapping.
  
  Revision  Changes    Path
  1.8       +2 -2      jakarta-avalon/src/java/org/apache/avalon/framework/configuration/SAXConfigurationHandler.java
  
  Index: SAXConfigurationHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/java/org/apache/avalon/framework/configuration/SAXConfigurationHandler.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SAXConfigurationHandler.java	2001/10/29 16:16:28	1.7
  +++ SAXConfigurationHandler.java	2001/10/29 16:22:15	1.8
  @@ -181,8 +181,8 @@
   
           for( int i = 0; i < attributesSize; i++ )
           {
  -            final String name = attributes.getQName( i );
  -            final String value = attributes.getValue( i );
  +            final String name = componentAttr.getQName( i );
  +            final String value = componentAttr.getValue( i );
               configuration.setAttribute( name, value );
           }
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message