[uf-discuss] Include-Pattern Infinite Loop Open Issue
Toby A Inkster
mail at tobyinkster.co.uk
Wed Apr 16 14:54:19 PDT 2008
Jason Kams:
> 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?
There are still issues of one include including another include which
references the first include, but yes, preventing the inclusion of an
ancestor node does go a long way to a solution.
--
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>
More information about the microformats-discuss
mailing list