avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@osm.net>
Subject Re: ContainerKits Meta data/info
Date Sat, 08 Jun 2002 05:57:28 GMT


Peter Donald wrote:

> At 10:38 PM 6/6/2002 +0200, you wrote:
>
>> A couple of questions concerning ComponentInfo:
>>
>>    1. displayname
>>
>>       Is it a more friendly name that the name state member.
>
>
> yep
>
>>       E.g.
>>
>>          name = "my-component"
>>          displayName = "My Component"
>>
>>       And concerning the schema for displayname:
>>
>>         <block>
>>           <name>my-block</name>
>>           <displayname>My Block</displayname> ??
>>         </block>
>>
>>       I'm also assuming that <name> will have specific
>>       restrictions over and above <displayname> - e.g. no
>>       period (enabling the use of the name as the default
>>       logging catagory child name).
>
>
>
> Check ComponentVerifier.isValidNam - I wrote that code about a year 
> ago and my memory is a bit fuzzy. I believe names can be 
> uppercase/lowercase letter, numbers or the '-' character (and maybe '_'). 


The current version of ComponentVerifier does not do any name validation 
- that code is over in Phoenix. I propose we lift 
SarVerifier.isValidName( String name ) and place it inside 
ComponentVerifier.

Cheers, Steve.

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net




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


Mime
View raw message