[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: David Carlisle <davidc@nag.co.uk>
  • To: "Timothy W. Cook" <timothywayne.cook@gmail.com>
  • Date: Sat, 01 Dec 2012 21:04:07 +0000

Re:  The purpose of a namespace URI is ...
On 01/12/2012 20:04, Timothy W. Cook wrote:
> I cannot decide from the conversation if this is considered best
> practice or not.

Not everyone agrees but many people think it's a _terrible_ idea to
version the namespace.

If you have xpath/xquery queries working with one version they won't
work at all with the second version (and it's hard to make a query work
with both) as all the names have changed. You may not be using xpath but
that's just an example of the general issue that changing all the
element names is a _major_ change, not something that should be done
just because you need to bump a version number.

So unless you are in a situation where it's critical that any tools
working with version one don't work at all with version two then
changing the namespace is a bad idea. There is no need to tie the
namespae URI to the schema location so you can still have variant schema
for the various versions without changing the namespace, just as all
versions of xhtml share a namespace.

David


-- 
google plus: https:/profiles.google.com/d.p.carlisle


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