A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.
To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).
Namespace confusion: Difference between revisions
Jump to navigation
Jump to search
(→Bugs caused by Namespaces: Add http://hsivonen.iki.fi/atom-xhtml/) |
|||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
This page is for collecting evidence about Namespaces in XML not being helpful. | This page is for collecting evidence about Namespaces in XML not being helpful. | ||
==Namespaces are for Programmers== | |||
* If you are not a programmer, you do not need namespaces | |||
* If you are a programmer, you do not need something that violates KISS so blatantly | |||
==Bugs caused by Namespaces== | ==Bugs caused by Namespaces== | ||
Line 8: | Line 12: | ||
* [http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2009May/0064.html Wrong prefix used causing bad expansion] | * [http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2009May/0064.html Wrong prefix used causing bad expansion] | ||
* [http://hsivonen.iki.fi/atom-xhtml/ Feed aggregators failing with prefixed XHTML elements] | * [http://hsivonen.iki.fi/atom-xhtml/ Feed aggregators failing with prefixed XHTML elements] | ||
* [http://lists.w3.org/Archives/Public/public-rdfa/2009Mar/0068.html Declared prefix and used prefix differ] | |||
* [http://lists.w3.org/Archives/Public/public-rdfa/2009Mar/0060.html RDFa used without declaring prefix] | |||
* [http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2009Mar/0100.html Hard-wired prefix] | |||
* [http://www.greenbytes.de/tech/webdav/webdav-redirector-list.html#issue-namespace-handling Namespace bugs in the WebDAV implementation in Windows] | |||
* [http://realestate.yahoo.com/Alabama/Birmingham/2252-farley-rd:1528c8ae5f441a8fc3f9809bb1c681a8 Unbound prefix in Yahoo! real estate ads] (example [https://twitter.com/#!/manusporny/status/71212215612620800 tweeted as RDFa news about new use of RDFa]) | |||
==Wrong documentation about Namespaces== | ==Wrong documentation about Namespaces== | ||
Line 33: | Line 42: | ||
* [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-August/015905.html A WHATWG e-mail by Henri Sivonen in the context of RDFa] | * [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-August/015905.html A WHATWG e-mail by Henri Sivonen in the context of RDFa] | ||
* [http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2009Aug/0035.html "Why bound prefixes are an anti-pattern in language design" by Ian Hickson] | |||
* [http://lists.w3.org/Archives/Public/www-archive/2010Sep/0054.html Objections by Henri Sivonen to a proposal to introduce more namespaces to text/html] | |||
==E-mails showing confusion with namespaces== | ==E-mails showing confusion with namespaces== | ||
* [http://lists.w3.org/Archives/Public/public-html/2008Aug/0499.html Karl Dubost on xml:lang in text/html] (Admittedly this is a rather hard case given that {lang}, {xml:lang}, and xml{lang} all exist.) | * [http://lists.w3.org/Archives/Public/public-html/2008Aug/0499.html Karl Dubost on xml:lang in text/html] (Admittedly this is a rather hard case given that {lang}, {xml:lang}, and xml{lang} all exist.) | ||
* [http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2009Aug/0085.html Confusion about what <code><div xmlns:dc="http://purl.org/dc/elements/1.1/"></code> declares] ([http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2009Aug/0086.html Initially suspected to be sarcasm!]) | |||
==Confusion about the Origin of Namespaces== | |||
* [http://lists.w3.org/Archives/Public/semantic-web/2007Dec/0116.html TimBL addresses confusion about the cause and effect of RDF and Namespaces] | |||
== More about Namespaces == | |||
* http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2006-November/007663.html |
Latest revision as of 10:32, 3 June 2011
This page is for collecting evidence about Namespaces in XML not being helpful.
Namespaces are for Programmers
- If you are not a programmer, you do not need namespaces
- If you are a programmer, you do not need something that violates KISS so blatantly
Bugs caused by Namespaces
- Redeclaring a namespace breaks
- Prefix difference breaks
- Prefix difference breaks
- Wrong prefix used causing bad expansion
- Feed aggregators failing with prefixed XHTML elements
- Declared prefix and used prefix differ
- RDFa used without declaring prefix
- Hard-wired prefix
- Namespace bugs in the WebDAV implementation in Windows
- Unbound prefix in Yahoo! real estate ads (example tweeted as RDFa news about new use of RDFa)
Wrong documentation about Namespaces
- “90% of the technical questions” writes the O’Reilly XForms book author
- “Experience shows XML namespaces can be a common cause of confusion”
- “If there is any one of the W3C's family of XML specifications, that has caused me the most grief, XML Namespaces is probably it.” writes the Lead Developer of MSXML and System.Xml
- “I have a picture that made the audience at the session gasp in disbelief.” (Picture showing lots of namespace declarations.)
Related pages on other wikis
E-mails detailing lists of problems with namespaces
- A WHATWG e-mail by Henri Sivonen in the context of RDFa
- "Why bound prefixes are an anti-pattern in language design" by Ian Hickson
- Objections by Henri Sivonen to a proposal to introduce more namespaces to text/html
E-mails showing confusion with namespaces
- Karl Dubost on xml:lang in text/html (Admittedly this is a rather hard case given that {lang}, {xml:lang}, and xml{lang} all exist.)
- Confusion about what
<div xmlns:dc="http://purl.org/dc/elements/1.1/">
declares (Initially suspected to be sarcasm!)