[uf-discuss] hCard: is this use of geo + adr legal?
brian.suda at gmail.com
Mon Nov 20 04:11:07 PST 2006
I'd say that is legal, abit strange, but valid.
ADR itself has no value, only the sub-properties. Just like N & FN we
do class="fn n" all the time, and the FN is made-up of all the child
nodes, whereas the N is only the portions of it's sub-properties,
In your example, parsers do not actually look for any value of ADR
only children properties, so the abbr would be ignored in this case
when applied to the ADR.
On 11/20/06, Costello, Roger L. <costello at mitre.org> wrote:
> Hi Folks,
> Is this legal:
> <abbr class="geo adr" title="30.266935;-97.739267">
> <span class="street-address">401 East 6th St.</span>
> I think that it is not legal.
> My understanding of the abbr design pattern is that the value of the
> title attribute is to be used as the value of the property specified in
> the class attribute. In this case there are two properties (geo and
> adr) specified in the class attribute. Thus, an hCard tool would not
> know whether the value of the title attribute should be applied to the
> geo property or to the adr property.
> What do you say?
> microformats-discuss mailing list
> microformats-discuss at microformats.org
More information about the microformats-discuss