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
(→E-mails detailing lists of problems with namespaces: Add ISSUE-41 objections) |
|||
(4 intermediate revisions by 3 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 12: | Line 16: | ||
* [http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2009Mar/0100.html Hard-wired 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://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 37: | 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/ | * [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] | * [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] | ||
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!)