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

RE: Namespaces, schemas, Simon's filters.

  • From: Jeff Lowery <jlowery@s...>
  • To: "'Fuchs, Matthew'" <matthew.fuchs@c...>,'Peter Piatko' <piatko@r...>, xml-dev@l...
  • Date: Wed, 29 Aug 2001 14:46:48 -0700

RE: Namespaces
> It would be nice to coalesce 
> xsi:type and namespacing.

Doesn't that tie namespaces to context? I though this was a Bad Thing:

Piatko:
> > Option (b) implies that an identifier might map to multiple types.  I
think>
> > the question boils down whether this ok or not.

Bourret:
> In the end, I think you have to allow it. My gut tells me that the
> alternative could get quite nasty. Besides, one of the nice things about
> XML is that it does let you do your own thing, even if that thing isn't
> always the best thing to do.

It is possible now to create two Schemas with the same targetNamespace that
attach the same global elements to different types (you just don't want to
use them in tandem). I think that is insanity, but nothing prevents or
admonishes against it as far as I know.

Are identifiers and semantics orthogonal or not? Certainly the English
language supports the concept of one word meaning multiple things, but it
forces interpretation in context, which machines have a notoriously hard
time with. Such forced interpretation seems contrary to the goals of a
schema language and type enforcement system.

I see nothing wrong with a rule that says if you're going to give something
a name, give a unique name. There's not way to enforce that, of course, but
we're dealing with it for namespace identifiers already.

-- Jeff

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.