[uf-new] Namespace anti-pattern and hAudio TITLE (was: hAudio
FN or Title)
msporny at digitalbazaar.com
Mon Feb 4 12:17:56 PST 2008
Brian Suda wrote:
> 2008/2/4, Manu Sporny <msporny at digitalbazaar.com>:
>> Here are more examples of Microformats using "emulated namespace"s:
>> country-name (hCard)
>> organization-name (hCard)
>> organization-unit (hCard)
> --- i do not consider these namespaces.
Then, I assert that your definition of what is and isn't a namespace is
out of step with the common definition of a namespace and it is
causing confusion to those that are familiar with the common definition
of a namespace.
> In the vCard RFC the value is
> called "Country Name", "Organization Name" and "Organization Unit"
> with spaces. Since we could not use spaces in a class attribute we had
> two choices, CamelCase or hypens. We chose Hypes. There was no attempt
> to do any sorts of "emulated namespace", more simply just
> concatenating space-separated-terms so they could be used in the class
Even if there was no attempt to do any sort of "emulated namespace", and
even if you were attempting to just concatenate space-separated-terms so
they could be used in the class attribute, the end result is an
Let me try and put it another way. If we have this (EX1):
We have a root, a separator, and a suffix. The root is 'organization',
the separator is '-' and the suffixes are 'name' and 'unit'.
If we have this (EX2):
We have a root, a separator and a suffix. The root is 'organization',
the separator is '/' and the suffixes are 'name' and unit'.
If we have this (EX3):
We have a root, a separator and a suffix. The root is
"http://organization.org", the separator is '/', and the suffixes are
'name' and 'unit'.
So why are we saying that EX1 doesn't have a namespace and EX3
definitely has a namespace (for those that are new to RDF - EX3 is how
RDFa declares namespaces).
Regardless of what those that put hCard together meant to do, a side
effect of choosing to use '-' to separate elements and using the same
root creates an "emulated namespace". This same argument applies to hAtom.
To create an "emulated namespace" and then to claim that it isn't one
creates an inconsistency in the Microformat community's stance against
Programming and Problem Solving with C++, By Nell B. Dale, Chip
History of Programming Languages II, By Thomas J. Bergin
, Richard G. Gibson, p.265
Computer-Aided Verification '90: Proceedings of a DIMACS Workshop,
June 18-21, 1990. p.571
Handbook of Object Technology By Saba Zamir, p.15
More information about the microformats-new