mcconnell    2002/12/27 08:32:04

  Modified:    meta/src/java/org/apache/avalon/meta/info/builder
                        XMLTypeCreator.java
  Log:
  COmmented out top-level name checking.
  
  Revision  Changes    Path
  1.5       +10 -10    
avalon-sandbox/meta/src/java/org/apache/avalon/meta/info/builder/XMLTypeCreator.java
  
  Index: XMLTypeCreator.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-sandbox/meta/src/java/org/apache/avalon/meta/info/builder/XMLTypeCreator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLTypeCreator.java       19 Dec 2002 10:52:47 -0000      1.4
  +++ XMLTypeCreator.java       27 Dec 2002 16:32:03 -0000      1.5
  @@ -122,15 +122,15 @@
       public Type createType( final String classname, final Configuration 
info, final Configuration defaults )
           throws Exception
       {
  -        final String topLevelName = info.getName();
  -        if( !topLevelName.equals( "type" ) )
  -        {
  -            final String message =
  -                REZ.getString( "builder.bad-toplevel-element.error",
  -                               classname,
  -                               topLevelName );
  -            throw new ConfigurationException( message );
  -        }
  +        //final String topLevelName = info.getName();
  +        //if( !topLevelName.equals( "type" ) )
  +        //{
  +        //    final String message =
  +        //        REZ.getString( "builder.bad-toplevel-element.error",
  +        //                       classname,
  +        //                       topLevelName );
  +        //    throw new ConfigurationException( message );
  +        //}
   
           Configuration configuration = null;
   
  
  
  

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

Reply via email to