Closed GoogleCodeExporter closed 9 years ago
I agree we should avoid PHP issuing warnings. That shouldn't happen. However, fn
fundamentally *is* required by hCard, and therefore the entire hCard should
probably
be discarded if fn isn't found.
See: http://microformats.org/wiki/hcard#Property_List
There's work in other areas (notably the XFN integration) to unify the
interface so
that output is predictable - we should certainly take this patch into
consideration
for that.
Original comment by drew.mcl...@gmail.com
on 21 Apr 2008 at 10:59
yes, fn is required by the standard. but hkit should still not just reject such
hcards right away, it should be up to the user, or at least there should be an
option
of strict parsing, if really necessary.
An analogy being a browser that returns a blank page if the page doesn't
validate.
Original comment by uwe...@gmail.com
on 21 Apr 2008 at 11:06
The above patch has been applied and is now in SVN. Thanks for your
contribution.
Original comment by drew.mcl...@gmail.com
on 21 Apr 2008 at 4:47
Original issue reported on code.google.com by
uwe...@gmail.com
on 21 Apr 2008 at 10:11Attachments: