RE: Naming: select1 vs. singleSelect

> From: Klotz, Leigh [mailto:Leigh.Klotz@pahv.xerox.com] 
> 
> Hello.
> 
> A strong goal of XForms integration with XHTML 2.0, and the 
> XHTML Working
> Group asked that we avoid hyphens and use only lowercase 
> letters for element
> and attribute names, which rules out both "selectOne" and 
> "select-one".  

Ok. So what about a 'choice' or 'choose' (compare with 'select')?

> 
> The all lower-case "selectone" is difficult to read in 
> English, as it would
> be pronounced "selec-tone", and is indeed used as such in at least one
> trademark (http://www.com-spec.com/selectone/).

I see.

> 
> I don't think that trailing numerals in element names are 
> unusual; see HTML
> <h1>, <h2>, etc.

The <h1>, etc. elements are deprecated in XHTML 2.0 in favour of <section>
elements:
http://www.w3.org/TR/2002/WD-xhtml2-20020805/mod-text.html#sec_8.18.

So, if XForms is going to be integrated with XHTML 2.0 then it's better to
avoid old-styled naming.

Regards,
  Konstantin

> 
> Thank you,
> Leigh L. Klotz, Jr.
> 
> -----Original Message-----
> From: Piroumian Konstantin [mailto:KPiroumian@protek.com] 
> Sent: Monday, August 26, 2002 12:21 AM
> To: 'www-forms@w3.org'
> Subject: Naming: select1 vs. singleSelect
> 
> 
> 
> Hi!
> 
> What is the reason of using a name like 'select1' for single choice
> selection element?
> Don't you think that this kind of name is absolutely unusual 
> in XML, XSL,
> XHTML or HTML worlds? What's wrong with 'selectOne' or
> 'singleSelect'/'multiSelect' names? Or maybe 'select-one' 
> (using XSLT naming
> convensions)?
> 
> Regards,
>   Konstantin Piroumian 
>   Ivelin Ivanov
> --
>   Apache Cocoon: http://xml.apache.org/cocoon
>   kpiroumian@apache.org
>   ivelin@apache.org
> 

Received on Tuesday, 27 August 2002 03:52:19 UTC