hcard-issues-resolved: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(→‎resolved 2005: upgraded conformance requirements section issue to add such a section to updates of microformats specs, including hCard.)
(→‎resolved 2007: add id type-l10n for reference)
Line 276: Line 276:

* 2007-01-26 raised by [[User:JamesCraig|JamesCraig]].
* 2007-01-26 raised by [[User:JamesCraig|JamesCraig]].
*# RFC2426 'type' values cannot be localized/internationalized in hCard. In the example below, there is no solution to mark the Spanish version with a type of 'home' since the RFC2426 values are defined in English. <strong>abbr-design-pattern</strong> would suggest using abbr, but 'Casa' is not an abbreviated form of 'home', therefore the currently recommended version (below) is not valid.
*# <span id="type-l10n">RFC2426 'type' values cannot be localized/internationalized in hCard.</span> In the example below, there is no solution to mark the Spanish version with a type of 'home' since the RFC2426 values are defined in English. <strong>abbr-design-pattern</strong> would suggest using abbr, but 'Casa' is not an abbreviated form of 'home', therefore the currently recommended version (below) is not valid.


Revision as of 04:03, 8 June 2009

<entry-title>hCard resolved issues</entry-title>

resolved issues

Issues that are resolved but may have outstanding to-do items.

As issues are resolved, they will be moved from the Issues list to this section.

As actions are taken according to the resolutions noted in the issues, they are moved to hcard-issues-closed.

resolved 2005

Note: As the resolutions are enacted and the issues are closed, it may be worth moving this year of issues to its own page.

  • 2005-06-21 raised by Hixie
    1. Issue H-1: This specification is lacking a user agent conformance section. There's basically nothing that says how hCards must be parsed, how to handle errors, and so forth. Is it defined in terms of the DOM? Is it defined in terms of a serialisation? How do you handle unexpected content or missing content?
      • A: ACCEPTED. See hcard-parsing for how hCards must be parsed. For errors/unexpected content/missing content, please provide specific examples. In addition, updates to microformats specs should add a user agent conformance section that specifically covers (or references) how to parse, handle errors, and transcode to other formats.
  • 2005-06-30 raised by Jack L. Wolfgang II. Please feel free to move these to the FAQs if they are better suited there.
    1. Handling middle names and suffixes: How does one handle middle initials/names in the hCard format and suffixes that are not honorific suffixes (e.g. Jr., Sr., II, III, etc. as opposed to Ph.D., Esq., M.D., etc.)?
      • A: ACCEPTED FAQ. By Brian Suda (2005-11-08 updated by Tantek; 2006-11-16 updated by Andy Mabbett) hCard is based of the RFC2426 spec. I you want to use a middle initial it can be expanded using the abbr element. <abbr title="[MiddleName]" class="additional-name">M</abbr>. Honorific Suffixes in the RFC include Jr., Esq. and other inherited suffixes, so I would just use <abbr class="honorific-suffix" title="Junior">Jr.</abbr> etc.
    2. Handling different types of addresses: How does one handle the TYPE (e.g. postal, work, etc.) specification for addresses as specified in RFC 2426 Section 3.2.1?
      • A: ACCEPTED FAQ. By Brian Suda (2005-11-08 updated by Tantek) If you want to add a type to certain elements, including address and telephone it may be done in the following manner:
<span class="adr">
<span class="type">work</span>:
<span class="tel">
<span class="type">work</span>:
<span class="value">123.456.7890</span>

the TYPE needs to be a sub-element of the property (adr, tel, etc) NOTE: EMAIL does NOT have many TYPE attributes, only INTERNET and X400

  • 2005-07-22 raised by DanConnolly
    1. ...in my cellphone/sidekick address book, I have a number of entries for companies. I wrote asHCard.xsl to convert the data from RDF to hCard, but I don't know what to do with entries for companies, since FN is mandatory in hCard.
      • A: ACCEPTED. This should at least be an FAQ. "How do I write an hCard for a company?" The vCard specification is silent on this point (entries for companies). Thus there are two options as far as the hCard standard is concerned:
        1. Set "fn" and "org" to the same value. E.g. <span class="fn org">W3C</span> (recommended)
        2. Set "org" as usual, and set "fn" explicitly to empty. E.g. <span class="fn"></span><span class="org">W3C</span> or
          • Simply have no "fn", and on the parsing side, if there is no "fn" present, but there is an "org" property, then duplicate the "org" value as "fn"
      • The last two options are effectively the same and are both not explicit and easily confusable with a "missing data" condition. Thus option 1 is preferred. For converting applications (hCard to vCard), they may consider using proprietary extensions to make the distinction explicit in generated vCards, based on either case 1 or 2 above. E.g. Apple's Address Book application supports the property: X-ABShowAs:COMPANY
      • We are looking for descriptions of how other vCard supporting applications treat "company" vCards differently from "person" vCards. Please provide descriptions here:
        • Address Book / MacOSX.3:
          • Export (e.g. drag & drop to desktop, view in text editor)
            • Sets "FN" and "ORG" to the name of the company
            • Sets proprietary X-ABShowAs:COMPANY
          • Import (e.g. edit in text editor, drag & drop from desktop)
            • By setting "FN" and "ORG' to the same name (e.g. Banana Computers Inc.)
            • And removing any proprietary properties (e.g. X-ABShowAs)
            • Address Book user interface showed new vCard as a "company" contact rather an a person
        • Address Book MacOSX.4:
          • same results as above -RyanKing
        • The Danger Hiptop (aka T-Mobile Sidekick) address book:
          • Export (e.g. email to a mailing list)
            • Sets "FN" to the empty string and puts the company name in "ORG".
          • Import - could not find a way to import a .vcf, by email, IM, or other means into the Sidekick.
        • Contacts / Outlook 2003 Windows
          • Export (e.g. Highlight contact, File, Save As, vcard)
            • Sets "N" and "ORG to the name of the company
            • Sets "FN" to value in "File as:"
        • Add another vCard app here.
      • RESOLVED. hCard now specifically describes organization contact info. Remaining to-do: add to hcard-faq accordingly.
  • 2005-07-23 raised by DanConnolly
    1. Are class names case sensitive or not? hcard says "If names in the source schema are case-insensitive, then use an all lowercase equivalent."
      • A: ACCEPTED FAQ. Class names are case sensitive per the HTML4 specification. Hence hCard explicitly specifies the case of class name to use for source schema names that are case-insensitive.
    2. ...but I find example data with class="Given-Name"
      • A: ACCEPTED RESOLVED. That is from an older preliminary version of the hCard spec which used mixed case class names. Such class names are no longer valid hCard. Please note which examples (URLs) are using the older class names and hopefully we can get them fixed.
        • A: By Brian Suda I have fixed all the references in the hcard-brainstorming page to reflect the lower-case style, this is a hold-over from the original design, X2V has been updated.
    3. ..and code that supports it [data with class="Given-Name"].
      • A: ACCEPTED RESOLVED. Any code supporting the older class name(s) is for backward compatibility only, and should be phased out. Any new hCard code SHOULD NOT support such mixed case class names.
        • rfc2629xslt.html uses Street-Address, Family-Name, etc.
        • X2V Version 0.5.1 2005-07-08 supports Family-Name etc.
          • A: By Brian Suda I agree that the upper-case class names can be removed from the code, this was a hold-over and will be trimmed.
    4. The ul/ol stuff for multiple values of a property seems to be in the X2V code and in hcard-brainstorming but not in the hcard spec.
      • A. ACCEPTED RESOLVED. This needs to be added to the spec. 2005-11-08 Update: the way multiple values has been updated to work much better and not require ul/ol.
    5. the hcard-profile says country-name but X2V and lots of the data I've seen says country
      • A. ACCEPTED RESOLVED. RFC 2426 clearly says "country name" in both the prose and the grammar, thus "country-name" is the correct class name to use. If X2V uses just "country", it needs to be fixed to use "country-name", and any such examples as well. Please note which examples (URLs) are using the class name "country" and hopefully we can get them fixed.
        • A: By Brian Suda I have fixed all the references in the hcard-brainstorming page to reflect the proper country-name, X2V will support this in the next iteration when i fix several bugs at once.
  • 2005-08-12 raised by Jack L. Wolfgang II. Use of mailto transport functionality for the E-Mail address field.
    1. As stated in the hcard-brainstorming document, mailto is abused by spammers. As a result, many organizations have moved to form-based contacts as opposed to mailtos. According to RFC 2426, Section 3.3.2, "A non-standard value can also be specified." Does this refer to a non-standard e-mail address value or type value?
      • A: ACCEPTED FAQ. Type value.
  • 2005-10-30 raised by Julian Reschke.
    1. Several implementations (Which ones? Please provide links.) seem to assume that any class attribute that contains the substring "vcard" indeed signals the presence of vcard information. Not so: there are examples (What examples? Please provide links.) of where a token in the class attribute indeed only starts with "vcard", in which it should be ignored. Implementations using XPath (such as XSLT or Greasemonkey scripts) should be advised to do a contains(concat(@class,' '),'vcard ').
  • 2005-12-08 raised by Kenny Heaton.
    1. The specification gives no way to to declare a telephone extension, as in (800) 234-5678 ext. 101
      • ACCEPTED FAQ. What is the best way to declare a telephone extension in a "tel" property? (also seems like it would be a vCard FAQ).

resolved 2006

Note: As the resolutions are enacted and the issues are closed, it may be worth moving this year of issues to its own page.

  • 2006-01-21 raised by Ben Boyle.
    1. Have run into issues trying to use definition lists with hCard, specifically around nesting requirements for tel where the DT element takes a class "type" (e.g. Telephone, Facsimile) and the DD element marks the value. It is invalid to place any other elements within a DL that wrap around the DT/DD pairs so there is no available element to assign the class "tel" to. XHTML2 proposes a DI element that will resolve this issue. I am hoping for an interim solution for those that wish to use definition lists, perhaps that "any class that would be placed on the DI parent (in XHTML2) must instead be placed on the first DT element". I realise this will cause headaches for those implementing hCard parsers. I'd also like to note this may affect other (current or future) microformats and relates to the general hassle of definition lists in current (X)HTML recommendations. For your consideration - thanks!
      • REJECTED WORKAROUND AVAILABLE. Either don't use definition lists in this manner (because the description of a definition should go completely in the DD element, and thus you should be able to put the class on that), or use separate DLs in the cases where you would otherwise have needed a DI element.
  • 2006-01-23 raised by David Janes (?).
    1. Issue 1: Specifying Authoritative or Canonical or Official hCard
      • Use of rel="me" only specifies an alternate version, not necessarily the canonical version
      • Suggestion: use rel="me self". Adopt "self" semantics from Atom which means "the", or controversially "alternate, equivalent" version
      • Suggestion: use rel="via". Per RFC 4287, via "signifies that the IRI in the value of the href attribute identifies a resource that is the source of the information provided in the containing element." from Ryan Cannon.
      • Other suggestions? "authoritative", "canonical"?
      • Problems with this suggestion?
      • How does this relate to authentication/trust issues? Is this a different problem with a different scope?
        • (microformats-discuss list) Joe Andrieu: The concept behind an "authoritative" hCard rather than "definitive" or "canonical" one was that "authoritative" would explicitly be a claim by the author of the hCard regarding its authority in describing the subject of the hCard, i.e., use this hCard as the one true source of this individual's contact information.
        • To summarize: authentication/trust is a separate topic.
      • What exactly is the scope of the problem to solve here?
        • (IRC) (10:47:44) sreynen: for example, all of the examples I've seen involve a single person publishing multiple hCards of himself
        • (IRC) (10:48:13) sreynen: yet many people are talking about 3rd parties publishing hCards and pointing back to the subject's own hCard
      • rel="me" must be symmetrical, per the XFN spec. What exactly does this mean for this use?
      • "me" (and, depending on usage, "self") are not appropriate for content referring to third- parties. Andy Mabbett

TODO: please add appropriate context and history of this issue from the mailing list. Sign your name to your comments.

      • ACCEPTED PARTIAL. MULTIPLE ISSUES AND BRAINSTORMING. The questions of authoritative, and canonical, and representative are likely different questions and must be deconstructed into separate issues. - Tantek
        • See representative-hcard for the resolution of the the representative hCard question.
        • "authoritative" hCard needs a better definition of the specific question.
        • "canonical" hCard needs a better definition of the specific question.
  • 2006-01-28 raised by Tantek on #microformats
    1. Is hCard is really appropriate for a named phone bridge, or do we need something else for a named phone numbers that are neither people nor organizations. For example see the "Zakim" hCard on http://www.w3.org/2005/12/allgroupoverview.html
      • ACCEPTED FAQ. Though hCard has been expanded to allow named locations, those are *physical* locations, and hCard is not really appropriate for named virtual locations (aka virtual addresses) such as a phone number or URL. However, given the use case of having a contact in one's address book for "Zakim" in order to "dial Zakim" as may be recommended in a working group IRC discussion, perhaps Zakim is a virtual entity like an organization. -Tantek
  • 2006-02-03 raised by Brian
    1. We can use the geo microformat in hatom to represent GeoRSS element
      • ACCEPTED DOCUMENTATION. Yes, this should be documented in hatom-examples. -Tantek
  • 2006-02-13 raised by Eron Wright
    1. Few systems contemplate the altitude component of a coordinate, yet it exists. Altitude becomes important when working with 3D mapping software such as Google Earth. Indeed, the geocoding service that Google Earth uses returns a three-dimensional coordinate. I suggest that hCard provide explicit support for altitude.
      • REJECTED POSTPONED. Not in vCard. There is no "altitude" component in vCard (RFC 2426), and thus (certainly for now) there won't be any in hCard. If a new version of vCard were to come out with altitude, then we would add it to hCard. At some point we may also consider adding explicit extensions beyond vCard, but if we were to do so, we would capture them first on the hcard-brainstorming page. See also geo-extension-elevation.
  • 2006-02-19 raised by Miika Mäkinen.
    1. Couldn't the types for tel numbers be specified in a class? Now, for a phone number one needs to add the type as "visible" text, which is not always preferred. For example, type "Work", many times more suitable label could be "Office" or similar and sometimes you might not want to display any type information at all.
      • REJECTED TRIED ALREADY. Using class names for the "type" of a tel or adr was attempted, and failed in many situations. In addition, the "type" information is actual data, not just a property name, and thus deserves to be in the visible markup. Note that you can use abbreviations, e.g. <abbr class="type" title="work">W:</abbr> in order to present the type in a way that may better fit in with the rest of your presentation.
  • 2006-02-23 raised by Jesse Skinner and Ben Buchanan.
    1. Are multiple URLs allowed? The Property List suggests not, whereas email and tel have multiple type/value pairs. However, the parsing page suggests multiple URLs are OK. Either way, it seems clear that a type cannot be associated with a URL. So how exactly does hCard deal with multiple URLs?
      • RESOLVED FAQ: Multiple URLs are allowed. Some consuming agents (Apple's AddressBook.app among them) don't have an interface for producing multiple URLs, but they are still valid in vCard and therefore hCard. --RyanKing 17:58, 12 Jun 2006 (PDT)
  • 2006-03-07 raised by Tantek.
    1. Issue 1: In 99% of the cases I am finding the need to explicitly do "n" markup, the person has a three word fn which is in the form "given-name additional-name(or initial) family-name". Should we make three word fn's into another shorthand notation to make this easier for authors?
      • REJECTED. I have seen sufficient additional cases in systems that have full names but not structured names that have multi-word family names that I think such an algorithm may cause minor data corruption where part of a family-name is interpreted as an additional-name. -Tantek
  • 2006-04-06 raised by Evan.
    1. What is the relationship between the CATEGORY property and rel-tag? Can you add a tag to an hCard? How can you add a tag to a particular hcard on a page without tagging the other cards on a page?
      • ACCEPTED. Categories can optionally be represented as tags. The classname 'category' should always be used, but rel="tag" can optionally be used (in addition to the category classname). In the case that a rel-tag tag is used, the tag (as defined by rel-tag) is used for the category. Examples: (1) <span class="category">food</span> and (2) <a class="category" rel="tag" href="http://example.com/food">Food!</a>. --RyanKing 15:16, 13 Jun 2006 (PDT)
  • 2006-04-10 raised by Scott Reynen.
    1. When someone looks at the hCard pages, one sees no collection of real-world publishing of contact data nor discussion of the properties implied by such examples, I think it's far too easy to infer that microformats come from other formats more than actual behavior. There's nothing on the process nor the hcard pages explaining this discrepancy. I would argue that there should be an explanation, probably in both places.
  • 2006-10-21 raised by Andy Mabbett
    1. There should be some way to say that the URL of an hCard or hCalendar event is the URL of the page itself, without having to include a redundant, and accessibility-damaging link to that page, on the page itself.
      • Quite often I see "a" webpage accessible with several different URLs. Typically 1 URL is the "preferred" URL, expected to have a long lifetime. Sometimes other URLs are "convenience" URLs that may have been linked to in the past, but are expected to go away soon, which resolve to the same file (the "latest version"). Then there are "archive" URLs that show an exact copy of that webpage as it appeared some time in the past. I think we want to always use the "preferred" URL, no matter which of those URLs we happen to stumble upon first -- so the URL is not actually redundant. (How exactly is it "accessibility-damaging" for a page to link to itself? Could you explain or add a link to an explanation?) --DavidCary 17:44, 5 Apr 2007 (PDT)
        • "How exactly is it "accessibility-damaging" for a page to link to itself?" - Novice user clicks on link; nothing (it appears) happens. Repeat ad infinitum, until user leaves site to do something else. Andy Mabbett 02:43, 6 Apr 2007 (PDT)
          • That scenario demonstrates more of a usability issue than an accessibility issue. Also, given that numerous (nearly all?) social network sites (e.g. sites with hcard-supporting-user-profiles) provide profile pages that link to themselves, this issue (and the above hypothesized user behavior) may be a theoretical misconception, and require data/studies to back it up, since modern accepted practice contradicts this hypothetical issue as currently described.
      • A: REJECTED THEORETICAL AND MISCONCEPTION. As noted, given that numerous (nearly all?) social network sites (e.g. sites with hcard-supporting-user-profiles) provide profile pages that link to themselves, the usability aspect of this issue may be a theoretical misconception, and require data/studies to back it up and thus for now is rejected. As far as any accessibility issue - if this were truly an accessibility issue, then accessibility tools such as screen readers would unlink/delink or otherwise not make clickable any links from a page to itself, thus solving any such supposed problem at the tool level. If accessibility tools are NOT doing so, that is, leaving pages links to themselves active, then they have likely decided that such links are not an accessibility problem.
  • 2006-11-15 raised by Lachy in #whatwg (an IRC channel on freenode about The WHATWG).
    1. I think the whole hCard specification needs to be restructured.
      • ACCEPTED. I (the editor, Tantek) have been rewriting the spec accordingly since 2007 June.
    2. It's incredibly difficult to work out what each class name means and how to use them properly.
      • ACCEPTED. Thorough itemized list of class names have been added. Definitions are in the hcard-profile and how to use (some of) them properly are in hcard-authoring, but should also briefly be in the spec. - Tantek
  • 2006-11-15 raised by hsivonen in #whatwg.
    1. Without knowing iCalendar or vCard, it is totally non-obvious to see what hCards or hCalendars would be conforming. The normative part is extremely short and doesn't seem to establish clear enough a mapping between the microformats and the RFCs.
      • ACCEPTED. This (and Lachy's 2nd feedback point above) should be addressed by clarifying the mapping with better use of the hCard profile which does clearly map the class names to vCard properties and the sections of the vCard specification that defines them, as well as by adding to the itemized list of properties in the spec at least brief definitions that then link to the expanded definitions in the profile. - Tantek
  • 2006-11-15 raised by Hixie in #whatwg (and agreed by Lachy and hsivonen).
    1. The hCard spec basically reads as a brainstorm, not a normative spec.
      • ACCEPTED. As editor I will seek to make the hCard spec as normatively written as at least common W3C recommendations, and hopefully to the level of the HTML5 specification. -Tantek
  • 2006-11-16 raised by Andy Mabbett
    1. The "type" for "tel" lacks a "textphone" option (for the devices used by, e.g., people who are deaf or have speech difficulties. Example: Birmingham City Council (303 1119).
      • A: REJECTED. This is a vCard issue, as the "type" taxonomy for "tel" is determined by vCard. We are not presently extending hCard beyond the properties and values in vCard.
        • I'm not clear how you can "reject" a provably factual statement. What's the process of suggesting an update to vCard? Andy Mabbett
          • A: ACCEPTED PARTIAL RESOLVED. Unfortunately it is not clear what the process is for updating vCard. However, we can at least capture suggestions for improvement to vCard from this community which may be helpful once the process for updating vCard is understood. I've created vcard-suggestions for this purpose and added this suggestion. - Tantek
  • 2006-11-17 raised by Lachlan Hunt (I second all of these feedback items. Andy Mabbett 07:15, 17 Nov 2006 (PST))
    1. Semantic XHTML Design Princples: This section should go. Guidelines for how to write a microformats specification do not belong in the spec itself.
      • ACCEPTED. I've expanded on the specifics of this section AND moved it to a separate page accordingly hcard-design-methodology.
    2. Format - More Semantic Equivalents: Explanations of how to use each property correctly should be given with each and every property, not just list a few at the top before the properties have even been defined.
      • ACCEPTED. Each property has now been listed explicitly. Brief explanations of each property will be added. -Tantek
    3. Singlular vs. Plural: It is unclear what is meant by singular vs. plural properties. Ordinarily, a plural is word that refers to multiple objects, but in this spec, it's being used to designate a property that can be used more than once. It doesn't make sense because the property itself isn't a plural. Besides, this section should go. The number of times a property can be used should be listed with each individual property description.
      • ACCEPTED PARTIAL. The definition of singular and plural in this context will be expanded to clarify. Listing the number of times a property can be used with the individual property description will be considered, but may be rejected per editor discretion of keeping the spec shorter and simpler. -Tantek
    4. Plural Properties Singularized: What the...? After attempting to read that paragraph several times, I still can't comprehend what on earth it's trying to say.
    5. Human vs. Machine Readable: This title only makes some sense for the use of the abbr element. Everything in this section should be moved to a Conformance Requirements section, which explains how to extract values from the markup. It should also use RFC2119 terminology that describes exactly what a UA has to do. Presently, it's written too informatively, rather than normatively (particularly for the abbr element).
      • ACCEPTED PARTIAL. Note that the title also makes sense for the use of URL properties in attributes like href and src. A conformance requirements section is a reasonable request, but it may reference the Human vs. Machine Readable section rather than included it for better document flow. Agreed on use of RFC2119 terminology. -Tantek
    6. Property List: This section is almost useless, it's effectively written like an index of properties but doesn't link to or help define, in any way whatsoever, what the actual meaning of a property is, nor how to use it. For every single property, all of the following information should be listed
      • Property name
      • Expansion (e.g. it's not clear from this section what fn stands for. First Name? Family Name? Full Name? Flight Number?)
      • Definition. (e.g. either copy the definition directly from vCard or provide a short summary, and also a link to the relevant vCard section. Saying just "See section #.#.# of RFC 2426.", as done in the profile, is not so easy to do.)
      • Usage
        • Contexts in which this property may be used
        • Content model (e.g. list of sub properties, expected elements, text, or whatever)
        • Syntax of the value (i.e. plain text, number, URI, etc.)
        • Elements this property may be used on
      • How to interpret the value (may link to relevant section in Conformance Requirements)
      • ACCEPTED PARTIAL. Much of this is good feedback on how to improve the property listing. Per some of the above resolutions, editor's discretion will be used to keep the property listing as short and simple as possible for better readability/accessibility. - Tantek
  • 2006-11-23 raised by Andy Mabbett
    1. The specification should be "stand alone", and not normally require reference to the vCard specification.
      • A: ACCEPTED PARTIAL. Agreed that hCard should be usable by typical web authors without having to dig through the vCard specification. Precise implementation of parsing etc. hCard properties however will likely require programmers to reference the specifics/grammars in the vCard specification which we will NOT replicate in the hCard specification in order to avoid inevitable introduction of errors due to duplication. And that being said, informative explanations may be a good idea, while the vCard property/value definitions are kept as normative.
        • Yes; my meaning was with reference to hCard publishing, not parsing-into-vCards. Andy Mabbett
    2. The specification should state that "telephone numbers SHOULD adhere to ITU-T Recommendation E.123" (or perhaps "MUST").
      • ACCEPTED PARTIAL. This makes sense as an informative reference and a MAY, but since vCard makes no such SHOULD statement for TEL values, neither should/will hCard. In addition, as a Wikipedia URL that is subject to drastic change, we cannot make that a normative reference.
        • I take your point about Wikipedia - here's a more definitive ITU-E.123 URL; but it's for a chargeable document. Using "SHOULD" or "MUST" in hCard will not affect compatibility with or conversion to vCard. Andy Mabbett
      • ACCEPTED DOCUMENTATION. to-do. -Tantek
  • 2006-11-24 raised by Andy Mabbett
    1. A suggested work-around for the lack of a gender property is to represent gender implicitly in the honorific-prefix field, e.g. Mr. for male, and Ms. for female. This approach does has the limitation that "Mr." and "Ms." (or "Miss"/ "Mrs.") conflicts with a higher-ranking, gender-neutral honorific, such as "Dr." or "Rev." for the person, as it is unusual (and sometimes, outside the USA, invalid) to refer to someone as "Mr. Dr." or "Mrs. Rev." for example. Note also that some cultures or religions regard such titles as offensive, or at least disdain them.
      • ACCEPTED FAQ, PROPOSAL. This technique for communicating gender should be documented in the FAQ, along with the limitations noted in this issue, as well as a pointer to the gender proposal in progress. The gender proposal should also point to this existing technique, and note its limitations as additional justification for the proposal. -Tantek
  • 2006-12-07 raised by RyanKing.
    1. hCard org-fn matching should use organization-name, if given.
    2. originally raised on uf-discuss by David Janes.
      • ACCEPTED. This is a good suggested clarification. Tantek to-do: update hCard accordingly.
  • 2006-12-15 raised by WizardIsHungry
    1. [Moved from a user talk page] Hey, why is hiding semi-useful information using CSS bad? The Geo and Address stuff wouldn't be enough to contact me, but I would like there so bookmarklets, crawlers, greasemonkey etc can manipulate it. Is there a policy on using CSS hiding of fields? Thanks :)
      • I guess we can't rely that anything that consumes hCards is normalizing it to a particular format instead of just taking all the xml inside the hcard classed block and sticking it somewhere. If it does just store it as a string, then generating html from it will yield the same hidden fields. Perhaps hiding fields by applying a stylesheet to the relevant hcard styles is ok, but not hiding them using in-line CSS styling. Feedback? --Jon Williams 10:28, 22 Dec 2006 (PST)
      • Furthermore, hcard-example1-steps shows using inline CSS to hide fields. What gives? I still think this is an open issue; particularly the distinction between external stylesheet hiding and inline rules though. --Jon Williams 13:33, 5 Jan 2007 (PST)
      • Should this be on microformats-issues? --Jon Williams 13:37, 5 Jan 2007 (PST)
        • REJECTED. The example you cite is the first of several steps, which refine and improve the first step's suboptimal hCard, not intended as examples for publication.
          • The question is: why is this considered suboptimal if it is ok to hide the entire card?'
            • REJECTED. It is not OK to hide the entire card.
              • Here are a number of examples of hiding the entire card, taken from hcard-examples-in-wild: [1] [2] [3] [4] -- Could someone link to where this was discussed and decided in the past, as it seems like this is being governed by fiat. Even if you don't care to have consensus, but could you at least justify this? This stonewalling is rather rude. --Jon Williams 13:24, 9 Jan 2007 (PST)
      • hcard-brainstorming#CSS_Styles explicitly permits this. I'm going with what they say.
        • REJECTED. Note that section explicitly says: "WARNING: This is very much recommended AGAINST". -Tantek
  • 2006-12-15 raised (on 2006-12-14, on the mailing list) by Joe Andrieu.
    1. (Paraphrased) By including organisations and places, as well as people, hCards have lost semantic specificity (see cited mailing list post for details).
      • Apparently intentional, but possibly requiring further extension. Andy Mabbett
      • REJECTED. As there are precise parsing rules for determining whether an hCard is an organization, or whether an hCard is a location, semantic precision is preserved from the publisher who decides to publish a person, organization, or location, thru to the parser, which determines the semantic specificness of whether the hCard is a person, organization, or place. -Tantek
      • REOPENED - the latter is a recent proposal, on a brainstorming page, and no more. There is insufficient evidence of use in the wild to be sure whether or not it meets all common publishing bahaviour. Andy Mabbett 05:32, 15 Dec 2007 (PST)
      • ACCEPTED PARTIAL. The organizations vs. people portion remains REJECTED. However, as indicated, the named location proposal needs to be tested with more examples. -Tantek
      • Consider also an hCard for a City, "Birmingham, England": Birmingham may be the "fn" and the "locality", but it's not an "extended-address". Perhaps the rule should be that the hCard is for a place if the "fn" is on any address component (e.g "fn locality" or "fn street-address")? See discussion at [5] et seq. Andy Mabbett 16:15, 30 Dec 2007 (PST)
        • If so, the "implied-n-optimisation" rule will need to be modified, to exclude cases where the fn is on the same attribute as an adr-child (which should probably not happen anyway). Andy Mabbett 13:59, 2 Jan 2008 (PST)

resolved 2007

Note: As the resolutions are enacted and the issues are closed, it may be worth moving this year of issues to its own page.

  • 2007-01-22 raised by Christina Hope.
    1. What is the easiest way to display an hCard all on one line with spacing. Currently I am using this - but I know that there has to be an easier/ simpler way to do it. Example:
<span class="vcard">
<span class="fn">Christina Hope</span>& nbsp;& nbsp;& nbsp;
<span class="department">Information Technology</span>& nbsp;& nbsp;& nbsp;
<span class="role">Website Coordinator</span>& nbsp;& nbsp;& nbsp;
<span display="none" class="region"></span>
<span class="tel"> x3408</span> & nbsp;& nbsp;& nbsp;
<span class="email"><a href="mailto:chope@example.com">chope@example.com</a></span>
<p class="vcard">
<span class="fn">Christina Hope</span>
<span class="department">Information Technology</span>
<span class="role">Website Coordinator</span>
<abbr class="tel" title="+44123 456 7890 x 3408"> x3408</abbr>
<a class="email" href="mailto:chope@example.com">chope@example.com</a>
Note: apply classes to existing elements; use abbr to give the phone number in full, in international format. Also, use CSS, not non- breaking spaces, for spacing.
Andy Mabbett 08:34, 22 Jan 2007 (PST)

  • 2007-01-26 raised by JamesCraig.
    1. RFC2426 'type' values cannot be localized/internationalized in hCard. In the example below, there is no solution to mark the Spanish version with a type of 'home' since the RFC2426 values are defined in English. abbr-design-pattern would suggest using abbr, but 'Casa' is not an abbreviated form of 'home', therefore the currently recommended version (below) is not valid.
<span class="tel" xml:lang="es">
  <abbr class="type" title="home">Casa</abbr> (<span class="type">pref</span>erido):
  <span class="value">+1.415.555.1212</span>
      • REJECTED. TOO LITTLE INFORMATION. Please provide the precise URL to the specific statement on the accessify forum discussion that asserts that using abbr is not valid. Please also provide a precise URL to a *real world* (as opposed to an artificially constructed test case) example in the wild of an non-English hCard which attempts to specify RFC2426 type information on a "tel" property and fails to do so.
      • REOPENED and clarified (Also removed Accessify reference pulled from [original raising]).
        1. Though erroneously first raised on the accessibility page, this is not an accessibility issue. It is an HTML semantics issue for internationalization. abbr[title] should be an expanded form of abbr contents, in the same language.
        2. There are real-world non-English examples in the current Mac OS 10.5 (Leopard) developer seed. This code example illustrates the point sufficiently.
        3. Please leave the clarification as-is even if you feel you must RE-REJECT (add-on, don't revert). My original points were lost when they were taken out of context and moved here. -JamesCraig
    1. To avoid i18n issues, microformats should keep its hands off content (this also affects hReview). abbr-design-pattern doesn't seem the right solution here. Someone from France suggested elsewhere to use the class value telwork, etc. but again it's a dubious solution (remember that a tel can have a type of voice and work at the same time). I suggest considering:
<span class="tel home pref" xml:lang="es">
  Casa (preferido):
  <span class="value">+1.415.555.1212</span>

It could be argued that somehow this solution violates the microformats principle of visible data. Maybe it does, but i18n should come first because otherwise microformats violates the first rule: solve a specific problem (and the last: "enable and encourage decentralized and distributed development, content, services: explicitly encourage the original 'spirit of the Web'"). -Xavier Badosa

      • ACCEPTED SOLVED. The use of abbr and title attribute to provide an alternate language representation rather than an abbreviation expansion falls outside the semantics of abbr. The value-class-pattern has been devised as a solution to this problem, to avoid the semantic mis-use of abbr for this instance.

  • 2007-01-30 raised by Andy Mabbett
    1. Many sites, not least Wikipedia, publish co-ordinates as degrees-minutes-seconds (e.g. [6]). Should geo be extended to allow for this, with parsers making the conversion to digital values?
      • ACCEPTED BRAINSTORMING. My first instinct is that if a precise grammar can be defined for the human friendlier d-m-s syntax, and if that precise grammar reflects the 80% of existing real world cases (e.g. Wikipedia as cited), then it should be considered for addition to the geo property and thus hCard. This may help reduce the number of instances of needing to duplicate the d-m-s value as a decimal value for machines. -Tantek
  • 2007-02-02 raised by Derrick Pallas
    1. adr says that all of it's properties are singular; however, "street-address" is listed as zero-or-more.
      • ACCEPTED. This appears to have been fixed in the adr specification. "street-address" is no longer listed as zero-or-more.
  • 2007-02-25 raised elsewhere by User:JamesCraig
    1. internationalization Note: country-code may be missing. Usually a postal-code prefix such as "FIN-00630 Helsinki" or "L-4750 Petange" (Luxembourg).
      • ACCEPTED FAQ. This seems like just an FYI/FAQ rather than any real issue. Often country names can be inferred from postal-codes. Also perhaps the country-name can be marked up as an abbr subset of the postal-code in cases like the "FIN" example given. -Tantek
  • 2007-03-19 raised by Christina Hope
    1. Does Microsoft Outlook 2003 allow the use of the "role" property? I have added it to all of my hCards and it is not appearing. Am I doing something wrong?
        • URL? (if no URL to a demonstrative example is provided within a year of this issue being raised, it will be closed as REJECTED INSUFFICIENT INFORMATION.)
        • REJECTED INSUFFICIENT INFORMATION. Perhaps a note can be added to vcard-implementations with mention of this issue, in case others come across it and can then document it more thoroughly.
  • 2007-03-26 raised by Andy Mabbett
    1. Parsers (Operator, Tails) currently expect adr to have one or more children. It is not clear from the spec that that's mandatory; nor is it always possible for an address field in a templated (or CMS) web site to be defined with such granularity. See hcard-brainstorming#ADR with no children for discussion.
      • ACCEPTED. Tantek to-do: Add more precision to how to handle adr sub-properties (or lack thereof) to adr and hcard. In particular, an "adr" without any sub-properties simply provides no information.
  • 2007-03-28 raised by James Craig
    1. Internationalization (i18n) issue for implied optimization of FN. Many languages (for example, Japanese) often list FN as "family-name given-name" instead of the assumed "given-name family-name" in English and other Western languages. There should be a affordance to indicate the order or a note in the spec indicating that the two-word FN is a shorthand for Western languages and any languages not fitting this format should explicitly define "family-name" and "given-name" every time.
      • ACCEPTED. Tantek to-do: add internationalization section in hCard spec, and note in the spec indicating that the two-word FN is a shorthand for Western languages and any languages not fitting this format should explicitly define "family-name" and "given-name" every time.
  • 2007-04-09 raised by Andy Mabbett
    1. Why is geo still a draft, when it's included in the already-published hCard spec?
      • ACCEPTED. geo has been vetted long enough by the community to be raised to the same level as hCard. Tantek to-do: send an email to microformats-new proposing this.
  • 2007-04-19 raised by Andy Mabbett
    1. How should we handle Old Style and New Style dates (i.e. Julian calendar vs. Gregorian), in DoB? For instance, Boris Pasternak, born "10 February [O.S. January 29] 1890". Should the hCard spec. specify New Style, using the abbr-design-pattern (or its successor) if necessary: <abbr title="1890-02-10">29 January 1890</abbr>?
      • ACCEPTED FAQ. The author of the content should specify *at least* an ISO compatible Gregorian date (i.e. using the Proleptic Gregorian Calendar as necessary), e.g. as the Boris Pasternak example does, and mark *that* date up with the bday property: "<abbr title="1890-02-10">10 February</abbr> [O.S. January 29] 1890" Since the likelihood of error/drift/misunderstanding is greatly increased by two different representations of date with different numbers with one of them being less visible (e.g. in the title attribute), pattern like the suggested <abbr title="1890-02-10">29 January 1890</abbr> MUST be avoided by authors.
  • 2007-04-21 raised by Mark Nottingham.
    1. Pages often list many addresses in the same locality, but hCard (and adr) are currently structured so that you have to repeat the entire global context for each address. For example,

<h2>Pizza Shops in Burlingame, California</h2> <ul> <li>Round Table - 231 Burlingame Avenue</li> <li>Village Host - 303 Broadway</li> <li>Pizza Hut - 43423 El Camino Real</li> </ul>

As specified, there'd be a lot of repeated information here.

However, if adr allowed use of locality, region, postcode and country as ancestors of the more specific address tags, it would save a lot of bits -- and help adoption of these microformats in this kind of case (which is quite common).

  • 2007-04-24 raised by singpolyma
    1. What is the 'Label' property for
      • ACCEPTED FAQ. Per earlier resolutions, more explanation will be added to the hCard specification, and this question should be added to the hcard-faq.
  • 2007-04-27 raised by Sjoerd Mullender
    1. There is a proposal for a geo URI scheme [7]. It would be nice if that scheme and the geo hCard type could somehow be combined. It seems to me that if you want to use both and also have a human-readable version, you need three copies of the latitude/longitude:
      <p>Location: <a href="geo:52.356389,4.952222"><span class="geo"><abbr class="latitude" title="52.356389">52°21'23.00" N</abbr> <abbr class="longitude" title="4.952222">4°57'08.00" E</abbr></span></a></p>
      • ACCEPTED BRAINSTORMING. This is a very interesting proposal, and clearly it is desirable to minimize the number of copies of the latitude/longitude. Thus this should be added to the geo brainstorming geo links section. -Tantek
  • 2007-08-03 raised by MikeKaply.
    1. Issue 1: When using the value design pattern, should the data be extracted completely (including HTML tags) or just text content? In general, the value pattern seems to imply taking the data exactly.
      • ACCEPTED FAQ. For value excerpting, the parsing is handled as it would be for the property, but just on the element with class name "value" rather than the element with the class name of the property itself. Thus in general just the text content but see hcard-parsing specific combinations of property and/or element for special cases. It is only the include-pattern which incorporates the HTML subtree (including tags) in its entirety.
  • 2007-11-04 raised by RalfEngels.
    1. Issue 1: The section Organization Contact Info is exeedingly vague. It says "I must not set the N property" and later on it says that I could set it to an empty value. Which of both is true? Must not or empty?
      • ACCEPTED. Tantek to-do: clarify the spec on this point. Not setting it and setting it to empty have the same effect. Improve the wording.
    2. Issue 2: Same section. It does not cover e.g. Mr Fischer (N=Fischer) from the Fischer AG (ORG=Fischer). Could you re-formulate it stating that if the N attribute is missing the hcard is regarded as the card of a company.
      • REJECTED. If the "n" property is missing, then remaining fn+org or implied fn rules still apply.
    3. Issue 3: Grouping as specified by rfc2425 and supported by vcard cannot be expressed. Grouping allows you to express the relation between different values.
      • REJECTED. hCard only maps the properties and values from vCard, not all features. Grouping in particular is excluded.
    4. Issue 4: Implied n optimization: the typical case list specifies a (space) in the first and last line. In the middle lines it specifies a (comma). I guess this should mean (comma)(space) instead. In addition it contradicts with the previous text where you state that the separating character is a (whitespace)
      • ACCEPTED. Tantek to-do: clarify the spec on this point. space and whitespace are the same in this context.
    5. Issue 5: Concatenation of texts is not consistent in the examples. Example file 21 contatinates telephone fields with spaces. Example 16 concatenates multiple name sub-properties by a comma. Example 34 even concatinates multiple note fields.

resolved 2008

Note: As the resolutions are enacted and the issues are closed, it may be worth moving this year of issues to its own page.

  • 2008-01-01 raised by Andy Mabbett in microformats-discuss/2008-January/011182.html
    1. The "n" optimization rules (nickname, fn) should not apply where the fn is on part of adr or label: e.g <span class="fn locality">New York</span>; <span class="fn label">Asia</span>, since, in these examples, "Asia" is not a nickname, "New" is not a given-name and "York" is not a family-name. (see also hcard-brainstorming#Named_locations)
      • ACCEPTED BRAINSTORMING. This both makes sense from the point of view of avoiding a shorthand optimization to represent a person in a case where clearly the markup represents a place, and for allowing one possible way to use hCard for named locations.
  • 2008-01-09 2008- moved from vcard-suggestions
    1. We can't have a generic type name cause we have to localize in French. so, for us, hCard work phone number is: <div class="tel"><span class="type">Travail</span> : <span class="value">0321596224</span></div>. How will a bot recognize that type ? We cannot specify every types in every languages in the specification. That's why i think something like this would be better: Travail : <span class="telwork">0321596224</span> Please, use class and id attributes ONLY for microformats specifications ! XML #cdata and #data are localized ! Thanks !
      • ACCEPTED ISSUE, REJECTED PROPOSAL. The localization issue is recognized and now addressed by the value-class-pattern. The proposal for "telwork" is unnecessary, will contribute to vocabulary expansion for every other property that has a work subtype for example, illustrates a vocabulary anti-pattern, and is thus undesirable.
  • 2008-01-13 raised by Christopher Allen at OpenIDDevCamp (collected by Tantek).
    1. What is the best practice for publishing your TZ in your hCard? As publishing just a fixed offset will likely result in 1 hour off error half the year for more people, given that the rest of the hCard is likely to be static.
  • 2008-02-02 raised by Andy Mabbett
    1. The "n" optimization rules (nickname, fn) should not apply where the fn is also the role or title: e.g <span class="fn role">Webmaster</span>; <span class="fn title">Duty Manager</span>, since, in these examples, "Webmaster" is not a nickname, "Duty" is not a given-name and "Manager" is not a family-name.
      • ACCEPTED BRAINSTORMING. This makes sense from the point of view of avoiding a shorthand optimization to represent a specific person's nickname or given/family names in a case where clearly the markup represents a generic person. In both examples given, it may be better to define the n property as having an implied empty value, while the fn has the explicitly marked up value.
  • 2008-02-06 raised by Guillaume Lebleu
    1. It seems to me that FN has been reused beyond its original vCard scope of person names, to cover any name. This led to the fn/title debate, but it seems some implementors are confused between following the vCard semantics (FN only for person names) or the hCard ones (FN for any name). See http://cinematreasures.org/theater/365/, which uses an empty FN, resulting in their vCard not being detected by Operator, only the address.
      • REJECTED MISCONCEPTION, MARKUP ERROR. ACCEPTED FAQs. 1. The scope that vCard provides is that of "person" or "organization", combined with that with the FN meaning of "formatted name" results in the meaning of "formatted name of a person or organization" (e.g. "person name" as stated). FN by itself does not have the scope of person or organization. The page given, http://cinematreasures.org/theater/365/, erroneously uses an empty fn, when they should be marking up the following markup: <a href="/theater/365/">Hornbeck & Penthouse Theatre</a> with fn org url uid for property hCard semantics: <a class="fn org url uid" href="/theater/365/">Hornbeck & Penthouse Theatre</a>. This example should be added to hcard-examples-in-wild, along with this noted correction in markup.
  • 2008-02-07Andy Mabbett
    1. The "fn" optimization rule should not apply where the full fn is also the nickname: e.g <span class="fn nickname">Plastic Bertram</span>, since a given-name+family-name pair is not usually a nickname. (But how to deal with pseudonyms such as "Maurice Micklewhite (known professionally as Michael Caine)"?)
      • ACCEPTED BRAINSTORMING AND FAQ. This makes sense from the point of view of avoiding a shorthand optimization to represent a person's given/family names in a case where clearly the markup represents their nickname. The given pseudonym could perhaps be marked up as: <span class="vcard"><span class="n"><span class="given-name">Maurice</span> <span class="family-name">Micklewhite</span></span> (known professionally as <span class="fn">Michael Caine</span>)</span>"?)</span>, however, without additional context of where that example is used, it's not clear that that's the best markup possible for the text.
  • 2008-02-07 raised by Andy Mabbett in microformats-discuss/2008-February/011552.html
    1. Is "n" optional or mandatory? The spec says yes (with exceptions) the cheat-sheet says no. Parsers and common practice seem to indicate not.
      • ACCEPTED FAQ. The "n" property is required, but that requirement may be met by satisfying one of the n property optimizations/shorthands. Thus parsers and common practice, by implementing those optimization/shorthands are still indicating the "n" property requirement.
  • 2008-02-08 raised by Guillaume Lebleu
    1. The required FN makes it difficult to use hCard in HTML Tables without resorting to hiding information (as in http://www.bo.ingv.it/contents/INGV-Bologna/Staff.html) or using the include-pattern. Perhaps FN should not be required if some N are present. Originally raised in [8]
      • ACCEPTED BRAINSTORMING. Because of this and other mentions of challenges of using hCard (and other microformats) in semantic HTML Tables, as well as the observation that fewer levels of hierarchy makes microformats easier to understand, a proposal is being considered to promote subproperties of a singular property to being properties themselves, e.g. the n subproperties (given-name, family-name, etc.), and in the case of non-singular properties with subproperties (e.g. adr), allowing the use of such subproperties (e.g. street-address, locality, region, etc.) with a single default/implied adr property container instance for the hCard.

  • 2008-06-01 raised by Kornel
    1. I need clarification how should "more semantic equivalents" be interpreted inside values (when they don't have relevant class name, but are inside another parsed element)
      • <span class="email"><a href="mailto:href">nodetext</a></span> – is it "href", "nodetext" or an error? What if there are multiple links inside?
        • Parsed as "nodetext" TobyInk 08:30, 1 Jun 2008 (PDT)
      • <span class="fn"><abbr title="title">nodetext</abbr></span> – is it "title" or "nodetext"?
        • Parsed as "nodetext" TobyInk 08:30, 1 Jun 2008 (PDT)
      • <span class="fn"><img alt="alt">nodetext</span> – is it "alt", "nodetext" or both?
        • Per hcard-parsing, since the "fn" property is a text/string property, in this example it should be parsed as "nodetext" Tantek 23:17, 3 June 2009 (UTC).
        • A matter of debate recently. Some parsers as "nodetext", others as "altnodetext". TobyInk 08:30, 1 Jun 2008 (PDT)
          • What parsers produce "altnodetext"? Please add them to hcard-implementations and per hcard-parsing note that those parsers are buggy since the fn property should be parsed as "nodetext" in this example. Tantek 23:17, 3 June 2009 (UTC)
      • <span class="fn"><abbr title="title"><span class="value">nodetext</span></abbr></span> – "title", "nodetext" or both?
        • Parsed as "nodetext" TobyInk 08:30, 1 Jun 2008 (PDT)
      • <span class="url"><img src="src" alt="alt">nodetext</span> – "src", "alt", "nodetext" or "altnodetext"?
        • Per hcard-parsing in this example it should be parsed as "nodetext" Tantek 23:17, 3 June 2009 (UTC).
        • A matter of debate recently. Some parsers as "nodetext", others as "altnodetext". TobyInk 08:30, 1 Jun 2008 (PDT)
          • What parsers produce "altnodetext"? Please add them to hcard-implementations and per hcard-parsing note that those parsers are buggy it should be parsed as "nodetext" in this example. Tantek 23:17, 3 June 2009 (UTC)
      • <div class="category"><a rel="tag bookmark" href="href">nodetext</a></div> – is it a tag? What if there are multiple links inside?
        • Not sure how other parsers treat this, but Cognition will create two categories based on this. One because of the [rel-tag], based on the final component of the URL; and the second category because of class=category, based on the node text. TobyInk 08:30, 1 Jun 2008 (PDT)
        • As Toby indicates, that example would likely generate two "category" values for the hCard, "href" (or the last segment of the href, if "href" was not intended as a literal), and "nodetext". I say "likely" because if those two happened to be the same, only one category value would be generated.
      • ACCEPTED FAQ. Lots of questions here that are answered by hcard-parsing but could also be listed in hcard-parsing-faq for hopefully easier discovery. In addition, each example presented would make a good test case.
    2. Does agent property have to be an hCard?
      • Is <span class="agent">Joe Sixpack</span> allowed?
        • Yes. TobyInk 08:30, 1 Jun 2008 (PDT)
      • Is <span class="agent"><span class="vcard">…</span></span> ok?
        • Cognition doesn't specifically support this format - they'll be parsed as two separate hCards. The "outer" hCard will have an "agent" property containing the unparsed node text for the inner hCard, as if you'd used a plain string for the agent as per the previous example. If you want to provide an hCard for the agent, and have it parsed as such, Cognition requires that you use: <div class="agent vcard">…</div>. TobyInk 08:30, 1 Jun 2008 (PDT)
        • As Toby says, it is "ok" in that it is valid, but the agent relationship is not established by that example. Toby's change to the example to use class="agent vcard" fixes it to have the intended effect. Tantek 23:17, 3 June 2009 (UTC)
      • What about <a class="agent" href="card.vcf">…</a>?
        • I don't think many hCard parsers also parse vCard. If they support vCard it's probably as an output format rather than input. TobyInk 08:30, 1 Jun 2008 (PDT)
        • No. The example given will be parsed as "…" for the agent. Tantek 23:17, 3 June 2009 (UTC)
    3. Is value of <abbr> without title empty or should it be interpreted like <span>?
      • I think consensus is that the node text should be used. TobyInk 08:30, 1 Jun 2008 (PDT)
      • More than consensus, per the hCard parsing spec: "<abbr title>: use the value of the 'title' attribute. If there is no 'title' attribute then use the contents of the element." Tantek 23:17, 3 June 2009 (UTC)
      • ACCEPTED FAQ. Lots of questions here that are answered by hcard-parsing but could also be listed in hcard-parsing-faq for hopefully easier discovery. In addition, each example presented would make a good test case.
    4. Does <acronym> work like <abbr>?
      • Not as per spec, but some parsers do treat it like <abbr>. TobyInk 08:30, 1 Jun 2008 (PDT)
        • Which parsers? Please list them and note their extra support of <acronym> on the hcard-implementations page.
      • ACCEPTED FAQ and BRAINSTORMING. <acronym> is not currently handled in any special way per hcard-parsing. If you (or anyone) thinks that <acronym> should be handled like <abbr>, please add it as a proposal to hcard-brainstorming. Tantek 23:17, 3 June 2009 (UTC)
    5. Is this allowed: <div class="photo">http://example.com/photo.jpg</div>?
      • It is allowed and will parse the URL as the photo property per step 3 of hCard parsing properties and values. Tantek 23:17, 3 June 2009 (UTC)
      • Yes, though it may cause problems for some naive parsers, and is probably less useful for humans viewing the page. TobyInk 08:30, 1 Jun 2008 (PDT)
        • Which "naive" parsers? Please list them on hcard-implementations and note what problems they supposedly have with this example.
      • ACCEPTED FAQ. Lots of questions here that are answered by hcard-parsing but could also be listed in hcard-parsing-faq for hopefully easier discovery. In addition, each example presented would make a good test case.
    6. Is it allowed to use http:// URLs in email? or mailto: in url?
      • Non-SMTP e-mail addresses can be used - the presence of a e-mail "type" of "x400" confirms this - so e-mail addresses which don't start with "mailto:" and do not contain an @-sign are theoretically possible. But given the prevalence of SMTP for mail delivery on the modern Internet, I don't see why this would be useful. For "url" it is often useful to encode non-HTTP URIs, such as FTP addresses or URIs for use with various instant messaging protocols, but given the existence of the "email" property, I don't see that it makes sense to encode "mailto" URIs. TobyInk 08:30, 1 Jun 2008 (PDT)
      • Yes both are allowed but there is insufficient detail in the example(s) given to understand what utility they would have. Tantek 23:17, 3 June 2009 (UTC)
      • ACCEPTED FAQ. Lots of questions here that are answered by hcard-parsing but could also be listed in hcard-parsing-faq for hopefully easier discovery. In addition, each example presented would make a good test case.
    7. Is it allowed/required to use mailto: when e-mail is in non-<a>, e.g. <span class="email">mailto:joe@example.com</span>
      • Yes, but for copy-and-pasteability I'd recommend leaving out the "mailto:" prefix. TobyInk 08:30, 1 Jun 2008 (PDT)
      • ACCEPTED FAQ and BRAINSTORMING. Yes it is allowed per step 3 of hCard parsing properties and values. However the "mailto:" prefix is currently only removed when specifying the email property on a or area elements per hCard parsing - email property. Thus this should both be clarified in hcard-authoring, that is, Toby's suggestion to leave otu the "mailto:" prefix in user visible text of the email property, and be clarified in hcard-parsing, that is, that a "mailto:" prefix should be removed from the email property regardless of what HTML element is used for the email property.
    8. If value of a property is empty (<span class="email"></span>) should it be interpreted as unknown value? ignored completely like it didn't exist? an error?
    9. Can hCard contain nested hCard anywhere? or only outside any property or only inside agent?
      • Yes, though naive parsers may have problems. TobyInk 08:30, 1 Jun 2008 (PDT)
      • ACCEPTED FAQ. Yes a nested hCard is allowed anywhere inside an hCard, however, note that any property inside the nested hCard will not be seen as part of the container hCard per hCard parsing - nested hCards. A nested hCard on the agent property provides structured details on an agent of the containing hCard, and a nested hCard on the org property provides structured details on an org of the containing hCard.
    10. Can organisation-name (note spelling) be interpreted by parsers?
    11. Is type class ignored in values anywhere? It is ignored in <div class="tel"><span class="type">Work</span> 555</div>, but is it in <div class="fn"><span class="type">Work</span> Joe</div>?
      • It doesn't have any special meaning within "fn", so should not be ignored. That is, the person's name would be parsed as "Work Joe". TobyInk 08:30, 1 Jun 2008 (PDT)
      • ACCEPTED FAQ. Indeed, any markup that is not specified to do anything should be ignored by parsers - this is a "MUST IGNORE" aspect of the forwards/backwards compatibility design of microformats. Lots of questions here that are answered by hcard-parsing but could also be listed in hcard-parsing-faq for hopefully easier discovery. In addition, each example presented would make a good test case.
  • 2008-06-15 raised by Kornel
    1. RFC2426 allows TYPE for LABEL, however hCard cheatsheet does not list any subproperties for label. Is this intentional? Is label's type allowed in hCard?
      • I raised this very issue on the mailing list about a month ago, but received no responses. Given that hCard claims to be a "a 1:1 representation of vCard (RFC2426) properties and values in semantic HTML or XHTML" (direct quote from spec), I think it's reasonable to infer that these types *are* allowed, but simply undocumented so far. I'll be including support for them in the next alpha of Cognition. TobyInk 23:59, 15 Jun 2008 (PDT)
      • ACCEPTED. Indeed this is an unintentional omission from the hCard specification. In the hCard list of properties, the entry for "label" should be changed to "label (type, value)" and the section on adr tel email types should be renamed to "adr email label tel types" and a list item should be added as follows: "* label type: INTL, POSTAL, PARCEL, WORK, dom, home, pref".
  • 2008-06-16 raised by Kornel
    1. In the rfc2426 the KEY property defaults to binary. hCard profile suggests to use <abbr> for the key. Shouldn't it recommend data: URI with application/pgp-keys type or HTTP URL to a PGP/GPG key file? Key in <abbr> can't be copied/saved without dedicated hCard parser. And I'm not sure if line-breaks (removed by attribute whitespace normalisation) aren't neccessary for parsing key file.
  • 2008-12-11 raised by mephtu
  • I am concerned that hCard usage will foster widespread abuse of personal datamining by scrapers/spammers, as a standard markup of personal information formalizes the structure of such information which until now has been loosely encoded as formatting markup (e.g. HTML).
    • The nice thing about microformats is that you are not required to publish everything. If you are not comfortable publishing your email, address, phone or other information, then you don't have to. If you are already publishing it on the web, then by adding microformats you are disambiguating a plain string of text and a string as meaning your name. Brian 08:56, 12 Dec 2008 (UTC)
      • That is true, but it does more tightly associate e-mail addresses with other information. Spammers could use this to tie an e-mail address to other personal/contact details and make their messages less spammy in an attempt to fool filters. For example, some filters will raise the spam score of a message if the "To" field contains just an e-mail address, and not the recipient's name - hCard provides spammers with a fairly reliable way of finding out that name. I don't think this is a huge concern, but it is a slight concern which shouldn't be entirely dismissed. TobyInk 16:37, 12 December 2008 (UTC)
      • ACCEPTED FAQ. There is already a general microformats FAQ on SPAM and this should be either added to that or perhaps specifically to hcard-faq.
  • 2008-12-16 raised by Tantek Çelik
    1. The "n" optimization rule for turning an fn of "WORD C." into an n given-name initial of "C" and family-name of "WORD" should be dropped, as it was not based on sufficient usage in practice (based on why I put it in there in the first place), and (a) it actually interferes with some broad usage in historical practice, e.g. on Pownce user's names were abbrevated as "GIVEN F." where GIVEN was their given-name and F was there family-name initial and (b) may have problems with non-Western name abbreviations also.
      • suggested resolution: drop respective "n" optimization rule, and suggest markup for any use of abbreviated name components with abbr tag, e.g. <span class="fn">Tantek <abbr>Ç.</abbr></span>
        • Could retain the rule when a comma or semicolon is found between the two parts though. TobyInk 22:39, 16 December 2008 (UTC)
          • At this point, unless sufficient real world sites are documented which use that practice of "a comma or semicolon is between the two parts", it is preferable to drop it, for simplicity. Tantek 23:17, 3 June 2009 (UTC)
      • ACCEPTED. Drop "WORD C." "n" optimization rule, noting the past examples of Pownce and http://dodgeball.com/, and the more recent example of http://playfoursquare.com/.
  • 2008-12-16 raised by TobyInk
    1. n is listed as a required property. Sometimes this is implicit from the fn, and that's fine. However, when <span class="fn">Foo</span> is found, "Foo" is implicitly a nickname, so the hCard still has no n property — does such an hCard still need an explicit n added?
      • ACCEPTED FAQ. The conclusion that "the hCard still has no n property" is incorrect. The hCard has an "n" property, it is just empty. This should be noted explicitly in hcard-parsing or perhaps hcard-parsing-faq.

see also