Re: ISSUE-41/ACTION-97 decentralized-extensibility

Lee Kowalkowski On 09-10-26 09.53:

> 2009/10/24 Leif Halvard Silli <>:
>> If source readability/short code is the primary usecase, then we should look
>> more thoroughly at the shorthand syntax notation idea that Håkon brought
>> forward in a thread in February: [1]
>>   Normal: <p class="abstract">
>> Shorthand: <p.abstract>
>> [1]
> I followed that thread and found this example:
> <p#myid.myclass1.myclass2>...</p> is equivalent of
> <p id="myid" class="myclass1 myclass2">...</p>
> ...but we can't have that because an ID may contain a period.  We'd
> have to do something like put class names first to prevent <p
> id="myid.myclass1.myclass2">, or have spaces between them.

Class names may also contain a period. But we don't need to 
swallow Håkon's proposal whole. If the purpose is extensibility + 
readability, then one could

* disallow anything but class names;
* disallow certain characters in shorthand notation;
leif halvard silli

Received on Monday, 26 October 2009 11:20:09 UTC