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

Re: Pragmatic namespaces

  • From: Kurt Cagle <kurt.cagle@gmail.com>
  • To: xml-dev@lists.xml.org
  • Date: Sun, 2 Aug 2009 11:55:16 -0700

Re:  Pragmatic namespaces
Although overall I'm in agreement with Micah on the implementation, I still think that there should be a push back on the HTML community for namespace support - or this particular architecture needs to be extended to the XHTML 5 version as well. The danger I see is that you'll continue to see vendors choose only to support the HTML only version (thinking IE8 here specifically) event though both versions should technically be supported, because of the potential of creating lock-in on the default namespace set.

One additional possibility here might be to introduce a new HTML 5 header element called <extends>:

<extends namespace="namespaceURI" prefix="prefix" uses="elementSeq|*">

Yes, this is a rogue namespace. The @uses attribute would contain either a list of supported elements or would default to the total set of elements (the default if @uses is not included. Elements in this namespace would be used sans prefix identifiers, unless the need to resolve conflicts arose, at which point it would take the form prefix.element. A dublin core element would then be added as:

<extends namespace="http://dublincore.org/documents/dcmi-namespace/" prefix="dc" uses="*"/>

or

<extends namespace="http://dublincore.org/documents/dcmi-namespace/" prefix="dc"/>

Then inline you could have the <creator> or <editor> element being added into the mix. If there was a collision with an extant namespace, then you'd default back to <dc.creator>.


This would be on top of the core arrangement discussed by Micah - in essence, it does not penalize developers who DO need advanced functionality simply because of the Granny Coder argument.


[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-2011 All Rights Reserved.