[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Summary of critiques of XML Namespace from comments to James Clark2010 b

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: xml-dev <xml-dev@lists.xml.org>
  • Date: Sat, 24 Jul 2021 17:17:59 +1000

Summary of critiques of XML Namespace from comments to James Clark2010 b
Marcus R brought up this blog recently:
Here is a summary of the various POVs.

James C:  Capability is occasionally useful, but not that useful. prefix/namespace disutiliy outweighs utility. 
     Using URIs was not necessary and uncritically adopted.  But good for RDF. 
    Nesting declarations seemed reasonable at the time, but ....

Michael K: Should be built in, not layered.     Using URIs is a misguided. URIs don't get dereferenced to get the schema
etc anyway.   Unclarity about infoset status of prefixes.

E Rusty H:  Qnames in content a mistake. (Namespace declarations apply to XPaths in attributes? RJ: not in Schematron
they don't!)    Making declarations element-scoped (rather than document-scoped) and overrideable (especially
default mapping) is the problem. 

Mukul G:  Being able to bind to schemas, and preventing name collusions is useful.
     (But don't adopt unless clearly required.)       

Tony C, Unknown, Anonymous. Ditto    What is the alternative?  How do we automatically bind a document to a schema?

Orcmid: Inability to have certainty w.r.t. schemas.

LIam Q: HTML5 crowd also dislikes namespace syntax: the HTML 5 processor implies the namespace from the element name.
  Proposal for "Unobtrusive Namespaces" and "Imaginary Namespaces"

David RRW:  CAM uses dictionary instead of namespaces. (I.e. individual name registration?)
     Only place namespaces were useful was distinguishing (formatting)  annotations not part of original content.

Ed D:  No mechanism to say when qname in content is used.  DTDs should have been made namespace aware.

Pierre A: Good to integrate namespaces into XML spec.   Use of qnames in content difficult.

Murata-sensei:  Namespace declarations better as PIs.  Nesting bindings a problem.  qnames in content (or attributes)
   not handled uniformly.

John C:LMNL didn't allow prefix remapping or multiple prefixes for the same URI.  Namespace declarations not tied to elements. Lexical scoping.  Different rules for default namespace.

Gavin N: Namespaces add significantly to DOM size.  Couples processing and semantcs unnecessarily.  Namespaces fight extensibility.

Bent R: Namespaces not used enough.  Could get rid of comment and PII syntax by making a namespace for them instead. "Is human readability a benefit or an issue?" It "leads to things like attributes". "Really there are only elements" 

Virendraneed out-of-the-box approach (i.e. a different over-web mechanism not just a different syntax?)

To which I add:

Rick: Setting default namespaces and nested or local declarations and redeclarations work against "manifest markup" where you only need to look at the tag (and perhaps a header) to know what is going on. I appreciate that it was a useful mechanism for, e.g. pulling in HTML documents into XHTML without having to prefix every element name in a tag or mess up CSS stylesheets; however perhaps XHTML was really a one-off, and not so compelling now.


Regards
Rick



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.