Open cleverdevil opened 6 years ago
So I just tried running the example markup in the following files…
tests/microformats-v2/h-resume/education.html
tests/microformats-v2/h-resume/work.html
…through the following Web-based parsers…
…and each one returned a result matching what's in the aforementioned JSON files.
Very strange. The h-resume
/hresume
examples are the only ones in the entire test suite where the type
property has multiple values (h-card
and h-event
). There aren't very good examples on either of the pages (here and here) on the wiki, either.
🤔
I think the h-card should be embedded as a property of the h-event, like:
<div class="h-resume">
<p class="p-education h-event">
<span class="p-location h-card"><span class="p-name p-org">The Queen's College, Oxford University</span></span>,
<span class="p-description">BA Hons (I) Physics</span>
<time class="dt-start" datetime="1973-09">1973</time> –
<time class="dt-end" datetime="1976-06">1976</time>
</p>
</div>
In these two
h-resume
tests:tests/microformats-v2/h-resume/education.json
tests/microformats-v2/h-resume/work.json
... the
education
property contains a strange blend ofh-card
andh-event
, which isn't documented in the spec, and seems incorrect. These should be fixed to beh-event
with potential embeddedh-card
objects instead.