drewm / hkit

Automatically exported from code.google.com/p/hkit
0 stars 0 forks source link

Duplication of hCard note element contents #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://tools.microformatic.com/query/plain/hkit/http://bergie.iki.fi/

hKit parses the note as:
[note] => Bergie, in old data that got corrupted sometime in 2003/2004
starts biting suddenly Bergie, in old data that got corrupted sometime in
2003/2004 starts biting suddenly

Whereas the HTML on the page is:
<li class="location"><span class="note">Bergie, in <span class="geo
adr"><abbr class="latitude" title="60,1539">60° 9,234 N</abbr> <abbr
class="longitude" title="24,8797">24° 52,782 E</abbr> <span
class="locality">Helsinki</span>, <span
class="country-name">FI</span></span> old data that got corrupted sometime
in 2003/2004 starts biting suddenly</span></span></li>

Original issue reported on code.google.com by henri.bergius on 16 Jan 2008 at 1:37

GoogleCodeExporter commented 9 years ago
Henri - you don't say why you think this is incorrect and what you were 
expecting. It
looks ok to me, but probably because my expectations are different from yours.

This may be of use: http://edgeofmyseat.com/articles/2007/07/08/reporting-bugs/

Where possible, please link to the relevant section of
http://microformats.org/wiki/hcard-parsing in describing the problem.

Original comment by drew.mcl...@gmail.com on 16 Jan 2008 at 2:00

GoogleCodeExporter commented 9 years ago
As you can see, the text is there twice in the hKit-parsed array, while only 
once in
HTML. I thought that would be apparent from the example.

Original comment by henri.bergius on 16 Jan 2008 at 2:02

GoogleCodeExporter commented 9 years ago
Ah ok, thanks. It wasn't immediately apparent, but I see it now.

Original comment by drew.mcl...@gmail.com on 16 Jan 2008 at 2:33

GoogleCodeExporter commented 9 years ago
This has been fixed in SVN. The fix is experimental, and may be rolled back 
unless
proven by testing.

Original comment by drew.mcl...@gmail.com on 21 Apr 2008 at 4:46