[uf-discuss] Re: Possible alternative methods for "include"

Tantek Ç elik tantek at cs.stanford.edu
Sun Feb 3 23:46:16 PST 2008

On 2/3/08 4:34 AM, "Toby A Inkster" <mail at tobyinkster.co.uk> wrote:

> Toby A Inkster wrote:
>> The order of the space-delimited class attributes should be considered
>> significant -- that is, in <foo class="bar #baz"> the content referred
>> to by #baz is logically included as the last child of the <foo> element,
>> but in <foo class="#baz bar">, it is logically included as the first
>> child.
>> I shall add to the Wiki momentarily...
> Wikied here:
> http://microformats.org/wiki/include-pattern-strawman
> Also fleshed out to include an example where included data is placed in
> the middle of its parent element rather than at the beginning or end.

Two problems:

1. class is an unordered set of values per HTML4.  introducing ordering is a
non-starter both from a violation of HTML4 spec perspective and likely
requiring of rewriting HTML4 parsers to maintain an ordering where they
currently don't.

2. inclusion of arbitrary data (#baz) in the class attribute is a documented



More information about the microformats-discuss mailing list