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

Re: The purpose of a namespace URI is ...

  • From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Fri, 30 Nov 2012 13:48:04 -0500

Re:  The purpose of a namespace URI is ...
At 2012-11-30 18:31 +0000, Fraser Goffin wrote:
>On 30/11/2012, G. Ken Holman <gkholman@cranesoftwrights.con> wrote
> >
> > Unless someone wants to crack open the nut again of using version
> > indicators in namespace URI strings.  I certainly don't.
>
>Oh, I must have missed that debate.

Ouch!  I was worried this would happen.

>What's your objection, ...

As soon as you touch the namespace string, all downstream processes 
relying on the qualified names break.  If different versions of a 
vocabulary have slightly different semantics (or putting it another 
way: predominantly the same semantics), the language definition 
should tell an application how to accommodate forward and backward 
compatibility.  The vocabulary itself is identified by the URI 
string.  The application can determine the version.

If I am supporting an XML vocabulary in a stylesheet and there is a 
"dot release" with minor changes, my stylesheets continue to work as 
well as possible if the URI string does not change.  If a new item is 
added, hopefully I will have had a catch-all template rule to 
accommodate that.  However, if the URI string changes to reflect the 
version of the vocabulary, instantly all of my stylesheets stop 
working entirely.  Support for all of the semantics shared between 
versions is lost.

>And aren't some of the namespaces that have been used in this thread that
>contain a date part much the same ?

Not quite.  Those only have the date of establishing the vocabulary, 
which is not the same as versioning the vocabulary.

The W3C established the namespace URIs 
http://www.w3.org/1999/XSL/Transform and 
http://www.w3.org/1999/XSL/Format in 1999, but there have been 
multiple versions of both vocabularies since and they were created 
(thankfully) without changing the namespace URI.

I think the discussion is open and shut when looking at it this way, 
but there are others in our community who disagree with this 
perspective and think nothing of modifying the URI string to reflect 
the version of the XML vocabulary.

. . . . . . . . Ken

--
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal



[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.