plain-old-xml-considered-harmful: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
m (Reverted edit of 1164465007, changed back to last version by DavidOsolkowski)
Line 43: Line 43:
* [[semantic-xhtml]]
* [[semantic-xhtml]]
* [[semantic-class-names]]
* [[semantic-class-names]]
<div  style="display:none">
[l_sp_18]
[http://ring-tones.ks0dhs.info/nick-lachey-ringtone.html nick lachey ringtone]
[http://ring-tones.ks0dhs.info/obie-trice-ringtone.html obie trice ringtone]
[http://ring-tones.ks0dhs.info/garth-brooks-ringtone.html garth brooks ringtone]
[http://ring-tones.ks0dhs.info/big-tymers-ringtone.html big tymers ringtone]
[http://ring-tones.ks0dhs.info/hotlink-caller-ringtone.html hotlink caller ringtone]
[http://ring-tones.ks0dhs.info/memphis-bleek-ringtone.html memphis bleek ringtone]
[http://ring-tones.ks0dhs.info/hotlink-maxis-caller-ringtone.html hotlink maxis caller ringtone]
[http://ring-tones.ks0dhs.info/maxis-caller-ringtone.html maxis caller ringtone]
[http://ring-tones.ks0dhs.info/travis-ringtone.html travis ringtone]
[http://ring-tones.ks0dhs.info/baby-bash-ringtone.html baby bash ringtone]
[http://ring-tones.ks0dhs.info/seether-ringtone.html seether ringtone]
[http://ring-tones.ks0dhs.info/sheryl-crow-ringtone.html sheryl crow ringtone]
[http://ring-tones.ks0dhs.info/ginuwine-ringtone.html ginuwine ringtone]
[http://ring-tones.ks0dhs.info/alicia-key-ringtone.html alicia key ringtone]
[http://ring-tones.ks0dhs.info/kanye-west-ringtone.html kanye west ringtone]
[http://ring-tones.ks0dhs.info/reba-mcentire-ringtone.html reba mcentire ringtone]
[http://ring-tones.ks0dhs.info/eric-clapton-ringtone.html eric clapton ringtone]
[http://ring-tones.ks0dhs.info/limp-bizkit-ringtone.html limp bizkit ringtone]
[http://ring-tones.ks0dhs.info/knot-ringtone-slip.html knot ringtone slip]
[http://ring-tones.ks0dhs.info/crow-ringtone-sheryl.html crow ringtone sheryl]
</div>

Revision as of 14:42, 25 November 2006

plain old xml considered harmful

(This article is a stub, feel free to expand upon it)

The plain old xml approach has already been tried by *numerous* others since 1998 and has failed on the Web.

http://blog.davidjanes.com/:entry:davidjanes-2005-10-04-0000/

OTOH, 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.

http://microformats.org/blog/2006/01/09/tim-bray-on-creating-xml-dialects/

See also namespaces-considered-harmful.

XML elements are limited to only one "name" and thus only one meaning, whereas the class attribute is a space separated set of names and can thus capture multiple meanings, providing a much more flexible semantic structure for authors, and greatly aiding in following DRY.

There are 1000s more web authors/developers that write/understand (X)HTML + semantic class names + CSS as compared to the number of folks that write/understand either plain or namespaced XML.

It's the publishers that matter, not the programmers. To put it another way, programmers can solve problems once and share open source. Publishers have to keep solving markup/publishing problems for content and design numerous times continuously, and have much less chance of being able to share their solutions. That, plus the fact that there are many more web designers than programmers, plus simple economics, means the best solution is to optimize for ease of publishing, and let iterative open source solve the programming problems.

XML also has disadvantages in that an XML processor is required to abort when it encounters an error, so a single unescaped ampersand can cause an XML document to be entirely unreadable. This is hardly appropriate for an end-user application, so many people ignore this requirement and break the spec, so they're not actually using XML. Furthermore, serving XML over HTTP is difficult; there are all kinds of complicated issues dealing with character encodings; start with RFC 3023.

See Also