#microformats 2016-02-09

2016-02-09 UTC
KartikPrabhu, jgarber, amanuel, fuzzyhorns, KartikPrabhu1, KevinMarks__, KevinMarks_, netweb and Vendan joined the channel
#
Vendan
question, https://github.com/microformats/tests/blob/master/tests/microformats-v2/h-as-note/note.json#L41 shows "value" keys for children, but the parsing spec makes no mention of it
#
Vendan
is it supposed to be there, and if so, how is it supposed to be derived?
#
kylewm
Vendan: I don't believe it should be there
#
kylewm
value only makes sense on properties, not on children
#
Vendan
ok, my parser is currently omitting it
#
kylewm
good catch
#
Vendan
there's a bunch of stuff like that in the tests, so I'll start putting together some pull requests to fix them
#
kylewm
Yeah, there are a lot of issues in the tests
#
kylewm
I had that experience too
#
Vendan
I'm sitting at 53 of 75 right now
#
Vendan
some of those are bad tests
#
Vendan
large amount of those are "I haven't built date/time parsing yet"
#
Vendan
it seems to want it to be parsed and normalized, but parsing spec just says "return the datetime attribute"
fuzzyhorns joined the channel
#
kylewm
Yeah, it specifies some but not full normalization. It doesn't help that php's stdlib will parse a date from pretty much any format
#
Vendan
well, the datetime stuff in the tests doesn't seem to match the parsing spec
#
Vendan
spec says return these things exactly, unless you are doing a value-class-pattern parse
#
Vendan
value-class-pattern then has a "output in one of these 3 formats", and the test seem to be completely ignoring that
tantek, KevinMarks__, fuzzyhorns, geor_gs, KevinMarks_ and dogada joined the channel
fuzzyhorns, jgarber, TallTed, tantek, geor_gs, sknebel, gRegorLove and KartikPrabhu joined the channel
fuzzyhorns, geor_gs, KevinMarks_, tantek and KevinMarks__ joined the channel