<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=VieEt9</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=VieEt9"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/VieEt9"/>
	<updated>2026-04-10T02:39:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=namespaces-considered-harmful&amp;diff=17603</id>
		<title>namespaces-considered-harmful</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=namespaces-considered-harmful&amp;diff=17603"/>
		<updated>2007-06-18T00:37:25Z</updated>

		<summary type="html">&lt;p&gt;VieEt9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt; namespaces considered harmful &amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(This article is a stub, feel free to expand upon it)&lt;br /&gt;
&lt;br /&gt;
In particular namespaces for '''content''' are considered harmful (e.g. XML namespaces, QNames in attributes etc.).  Namespaces for code is outside the bounds of the topic of this page.&lt;br /&gt;
&lt;br /&gt;
Author/Editor: [http://tantek.com/ Tantek Çelik]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== namespaced content has failed ==&lt;br /&gt;
&lt;br /&gt;
Namespaced content on the Web has failed.&lt;br /&gt;
&lt;br /&gt;
It's been tried by numerous groups, before microformats, and after.  It's even been tried in the context of RSS and RDF, and in practice people write&lt;br /&gt;
scrapers that look for namespace prefixes as if they are part of the element name, not as mere shorthands for namespace URIs.&lt;br /&gt;
&lt;br /&gt;
If you want to carry on a theoretical discussion of namespaces, please do so elsewhere, for in practice, discussing them is a waste of time, and&lt;br /&gt;
off-topic for microformats lists.&lt;br /&gt;
&lt;br /&gt;
=== namespaced content is not well supported ===&lt;br /&gt;
&lt;br /&gt;
Namespaces are actually *not* well supported in sufficient modern browsers, nor even sufficiently with enough W3C technologies or test suites as compared to [[semantic-xhtml|(X)HTML]]   [[semantic-class-names]]   CSS.&lt;br /&gt;
&lt;br /&gt;
=== articles documenting the failure of namespaced content ===&lt;br /&gt;
&lt;br /&gt;
The mixed namespace approach has already been tried by *numerous* others since 1998 and has failed on the Web.&lt;br /&gt;
* [http://blog.davidjanes.com/:entry:davidjanes-2005-10-04-0000/ XML - what is it good for? by David Janes]&lt;br /&gt;
* [http://www.xml.com/pub/a/2004/07/21/dive.html XML on the Web has Failed by Mark Pilgrim]&lt;br /&gt;
* [http://microformats.org/blog/2006/01/09/tim-bray-on-creating-xml-dialects/ Tim Bray on creating XML dialects]&lt;br /&gt;
&lt;br /&gt;
== namespaces for content are a negative ==&lt;br /&gt;
&lt;br /&gt;
Namespaces are actually a *huge* negative.  Search for:&lt;br /&gt;
* [http://www.google.com/search?q=namespaces Tower of Babel namespaces Tower of Babel]&lt;br /&gt;
* [http://www.google.com/search?q=namespaces syntactic vinegar namespaces syntactic vinegar]&lt;br /&gt;
&lt;br /&gt;
=== namespaced content discourages interoperability of data ===&lt;br /&gt;
&lt;br /&gt;
Namespaces encourage people to seclude themselves in their own namespace and invent their own schema rather than reusing existing elements in existing formats.  This hurts interoperability because a dozen different namespaces can all have their own slightly different semantics for the same element.  See [http://esw.w3.org/topic/BuildOrBuyTerms BuildOrBuy] for support for this argument, specifically &lt;br /&gt;
&amp;lt;blockquote&amp;gt;Use somebody elses rather than making aliases on purpose. It's one thing to make your own and then discover that there's something equivalent out there. It's quite another to willfully clutter the semantic web with aliases; the latter increases the burden on the community of consuming your data, so it's anti-social.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you start thinking about the web in terms of OOP and polymorphism, namespaces break the polymorphic model that allows you handle widely varied data structures using the same methods.&lt;br /&gt;
&lt;br /&gt;
== non-namespaced techniques have been succeeding ===&lt;br /&gt;
&lt;br /&gt;
On the other hand, XHTML   [[semantic-class-names]] has seen widespread adoption among the web authoring/design/IA/publishing community.  Microformats is leveraging the approach that is both working better and frankly dominating in practice on the Web.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[plain-old-xml-considered-harmful]]&lt;br /&gt;
* [[microformats-easier-than-xml]]&lt;br /&gt;
* [[semantic-xhtml]]&lt;br /&gt;
* [[semantic-class-names]]&lt;/div&gt;</summary>
		<author><name>VieEt9</name></author>
	</entry>
</feed>