https://microformats.org/wiki/api.php?action=feedcontributions&user=RoldrOnc4t&feedformat=atomMicroformats Wiki - User contributions [en]2024-03-29T09:58:03ZUser contributionsMediaWiki 1.38.4https://microformats.org/wiki/index.php?title=include-pattern-issues&diff=35579include-pattern-issues2008-12-19T13:24:01Z<p>RoldrOnc4t: montroczel</p>
<hr />
<div>getc4ta<br />
=Include-Pattern Issues=<br />
<br />
See: [http://microformats.org/discuss/mail/microformats-dev/2006-May/000097.html A summary of issues with the include pattern].<br />
<br />
<div class="vevent"><br />
* {{ClosedIssue}} <span class="summary vcard"><span class="dtstart">2007-08-03</span> raised by <span class="fn">[http://www.kaply.com/weblog/ Mike Kaply]</span></span><br />
<div class="description"><br />
*# It needs to be explicit that the only classname on the object/etc should be include. Having specific microformat property classnames (e.g. "fn") on the object is not necessary since the premise is that the object node is REPLACED by the referenced node. This is clarified on February 12th 2008, line 27 (http://microformats.org/wiki?title=include-pattern&diff=0&oldid=25677)<br />
</div><br />
</div><br />
<br />
<div class="vevent"><br />
* {{OpenIssue}} <span class="summary vcard"><span class="dtstart">2008-02-21</span> raised by <span class="fn">[[User:TobyInk|TobyInk]]</span></span><br />
<div class="description"><br />
It's very easy for inclusions to end up as an infinite loop. For example:<br />
<pre><div class="fn" id="foo"><a class="include" href="#foo">include</a></div></pre><br />
Assuming that we want to allow multi-level inclusion (e.g. an hcard could include an "adr" from elsewhere on the page, which in turn might include a "locality" from somewhere else), loops are hard to avoid. In my own parser, I assume a maximum number of iterations over the inclusion function. This level is set higher for more complex microformats than the more simple ones -- for example an hCard is allowed up to six iterations, whereas a geo is only allowed up to two.<br />
</div><br />
</div><br />
<br />
== Template ==<br />
<br />
{{issues-format}}<br />
<br />
==Related Pages==<br />
{{include-pattern-related-pages}}</div>RoldrOnc4t