[uf-discuss] Include-Pattern Infinite Loop Open Issue

Jason Karns jason.karns at gmail.com
Wed Apr 16 13:18:02 PDT 2008


I'd like to address Toby Inkster's current Open Issue.
[http://microformats.org/wiki/include-pattern-issues]
"It's very easy for inclusions to end up as an infinite loop. For example:..."

This issue is addressed by simply ignoring any includes that reference
an ancestor of the current node.
[http://microformats.org/wiki/include-pattern#in_general]
"To prevent infinite loops, if a class="include" refers to itself or
to an ancestor in the parse tree, then it is ignored and has no effect
on the parser. "

Can this issue now be closed citing the page above?  If different
parsers simply stopped following includes at an arbitrary number of
levels, then various different outputs could result from the same
data.

~Jason


More information about the microformats-discuss mailing list