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:[EMAIL PROTECTED]
http://www.osm.net
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>