donaldp 2002/10/03 22:54:38 Modified: info/src/java/org/apache/avalon/framework/tools/infobuilder XMLInfoCreator.java componentinfo.dtd Log: Remove name form component definition as it did not really make sense. Revision Changes Path 1.15 +2 -3 jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder/XMLInfoCreator.java Index: XMLInfoCreator.java =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder/XMLInfoCreator.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- XMLInfoCreator.java 4 Oct 2002 01:04:52 -0000 1.14 +++ XMLInfoCreator.java 4 Oct 2002 05:54:38 -0000 1.15 @@ -559,9 +559,8 @@ throws ConfigurationException { final String type = config.getAttribute( "type" ); - final String name = config.getAttribute( "name", type ); final Attribute[] attributes = buildAttributes( config ); - return new ComponentDescriptor( name, type, attributes ); + return new ComponentDescriptor( type, attributes ); } } 1.12 +1 -2 jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder/componentinfo.dtd Index: componentinfo.dtd =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder/componentinfo.dtd,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- componentinfo.dtd 2 Oct 2002 22:44:24 -0000 1.11 +++ componentinfo.dtd 4 Oct 2002 05:54:38 -0000 1.12 @@ -49,8 +49,7 @@ with a letter. --> <!ELEMENT component (attribute*)> - <!ATTLIST component name CDATA #REQUIRED - type CDATA #REQUIRED > + <!ATTLIST component type CDATA #REQUIRED > <!-- The logger element defines the loggers that are available to component.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>