[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: Fraser Goffin <goffinf@gmail.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Sat, 1 Dec 2012 18:44:57 +0000

Re:  The purpose of a namespace URI is ...
David you may very well be right, but on a practical level, it is more
likely that due to a change in pure *syntax*, for example wanting an
existing complexType to have a new mandatory element, a change of the
namespace may be necessary to clearly signal that break. I'm not
saying that's right, I'm just saying that whilst a new namespace may
at one level create a new language, if it substantially inherits it's
semantics from the previous version but because of a practical issue
can't really maintain the same namespace ....

That's why I said earlier that a data model can be 'damaged' because
of the 'leakage' of shortcomings of the language used to express it.
Whilst we could philosophically satisfy ourselves that if implementers
followed a particular approach to processing messages using that
language the problem wouldn't exist, again, reality would suggest that
many (perhaps most) don't do that and instead rely on features of 'off
the shelf' processors to do most of the heavy lifting but still
exhibit the processing flaw (e.g. strict XSD validation rather than
'selective/elective').

It's a conumdrum.

Fraser.


On 01/12/2012, David Carlisle <davidc@nag.co.uk> wrote:
> On 30/11/2012 20:22, Fraser Goffin wrote:
>> But isn't it usually the case that you would only change the
>> namespace for a MAJOR version change, and it is this explicit and
>> deliberate breaking change that you are signalling by doing so (ie. a
>> significant change of semantics and sometimes syntax).
>
> Well stronger than that, If you change the namespace you have changed
> the name of every token in the language so it's not a new version it's a
> new language. Sometimes that's what you want to do SGML->XML dsssl to
> xslt etc but if the language is plausibly a new _version_ of an existing
> language it ought to have the same namespace (a policy that isn't always
> followed:-)
>
> David
>
>
>


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