Microformats test suite

hCard 4 - n (name) singular and multiple occurrence test

This page was design to test singular and multiple occurrence values in the n element of a hcard.

From: hCard test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vcard[0].n.honorific-prefix[0] IsEqualTo("Dr") The honorific-prefix is a optional multiple value
vcard[0].n.given-name[0] IsEqualTo("John") The given-name is a optional multiple value
vcard[0].n.additional-name[0] IsEqualTo("Peter") The additional-name is a optional multiple value
vcard[0].n.family-name[0] IsEqualTo("Doe") The family-name is a optional multiple value
vcard[0].n.honorific-suffix[1] IsEqualTo("PHD") The honorific-suffix is a optional multiple value

History:

Dr John Peter Doe MSc, PHD

Some rights reserved