Re: [whatwg] Prevent abuse of data-*

2010-03-18 Thread Simon Pieters

On Thu, 18 Mar 2010 01:03:33 +0100, Ian Hickson i...@hixie.ch wrote:


On Mon, 22 Feb 2010, Kornel Lesi�~Dski wrote:


I'm wondering if data-* attributes should be renamed to priv-* to make
it clearer that it's page's _private_ data.

data- is such a nice generic prefix that I'm afraid sooner or later
someone will start basing microformats-like markup on that.


It's not a bad idea... Unfortunately data-* is already being used quite a
lot and has been widely advertised, so we have to be careful with this.
Anyone else have an opinion on this?


I think we should keep data- as is. People have started to use it, we  
would waste their time by renaming it.


--
Simon Pieters
Opera Software


Re: [whatwg] Prevent abuse of data-*

2010-03-18 Thread Henri Sivonen
Jonas Sicking jo...@sicking.cc wrote:
 2010/3/17 Ian Hickson i...@hixie.ch:
  It's not a bad idea... Unfortunately data-* is already being used
 quite a
  lot and has been widely advertised, so we have to be careful with
 this.
  Anyone else have an opinion on this?
 
 I don't feel strongly that either name is better. Though I would not
 that priv- doesn't make things much clearer since it's totally
 undefined who it's private to.

Given that priv-* isn't clearly better, I think it would be better not to annoy 
early adopters of data-* with a name change.

-- 
Henri Sivonen
hsivo...@iki.fi
http://hsivonen.iki.fi/


Re: [whatwg] Prevent abuse of data-*

2010-03-18 Thread Jonas Sicking
On Thu, Mar 18, 2010 at 6:41 AM, Henri Sivonen hsivo...@iki.fi wrote:
 Jonas Sicking jo...@sicking.cc wrote:
 2010/3/17 Ian Hickson i...@hixie.ch:
  It's not a bad idea... Unfortunately data-* is already being used
 quite a
  lot and has been widely advertised, so we have to be careful with
 this.
  Anyone else have an opinion on this?

 I don't feel strongly that either name is better. Though I would not
 that priv- doesn't make things much clearer since it's totally
 undefined who it's private to.

 Given that priv-* isn't clearly better, I think it would be better not to 
 annoy early adopters of data-* with a name change.

Agreed.

/ Jonas


Re: [whatwg] Prevent abuse of data-*

2010-03-17 Thread Ian Hickson
On Mon, 22 Feb 2010, Kornel Lesi�~Dski wrote:
 
 I'm wondering if data-* attributes should be renamed to priv-* to make 
 it clearer that it's page's _private_ data.
 
 data- is such a nice generic prefix that I'm afraid sooner or later 
 someone will start basing microformats-like markup on that.

It's not a bad idea... Unfortunately data-* is already being used quite a 
lot and has been widely advertised, so we have to be careful with this. 
Anyone else have an opinion on this?

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Prevent abuse of data-*

2010-03-17 Thread Jonas Sicking
2010/3/17 Ian Hickson i...@hixie.ch:
 On Mon, 22 Feb 2010, Kornel LesiÅ~Dski wrote:

 I'm wondering if data-* attributes should be renamed to priv-* to make
 it clearer that it's page's _private_ data.

 data- is such a nice generic prefix that I'm afraid sooner or later
 someone will start basing microformats-like markup on that.

 It's not a bad idea... Unfortunately data-* is already being used quite a
 lot and has been widely advertised, so we have to be careful with this.
 Anyone else have an opinion on this?

I don't feel strongly that either name is better. Though I would not
that priv- doesn't make things much clearer since it's totally
undefined who it's private to.

/ Jonas