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

Re: Schema Namespace name, schemaLocation,and Schema V ersioni


ersioni
[Mark Feblowitz]


> Regardless of where you start from, versioning spans both the syntactic
and
> the semantic. I could have two syntactically identical schemas, and could
> choose to assign them different versions (and, if included in the
namespace
> name, different namespaces) if the intended semantic interpretation were
to
> change.

Yes, but then you would have two schemas that accidentally happen to have to
same syntax, like homonyms in the domain of words.  There is no way a schema
processor could or should tell that you are using one of them in the wrong
context.  This situation is very much related, I think, to naming elements
or program identifiers with human-useful names.  They are invaluable, but
not yet to computers.

>The trouble with having a richer language for describing legal
> structures and types is that Schema blurs the distinction between
syntactic
> and semantic, even if it cannot capture/enforce all of semantics.
>

I don't know ...does it really lend itself more readily than DTDs to people
inadvertently slipping semantic expectations in?  That is not obvious to me.
So far I stand by my claim that XML Schema is only about structure, even
though it is true that people use use it to apply names that are useful to
remind them or guide them about the semantics.  If you want to give a schema
a new version to hint that new semantics should be applied, that is an
overlay that has nothing to do with the schema.

Anyway, if version 1 has semantics A, and version 2 is supposed to have
semantics B, then what should I expect version 3 to be about?  Logical
extensions oo some completely new semantics?  Confusing expectations, so it
probably would not be a good practice.

Cheers,

Tom P



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.