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

Re: Namespaces, schemas, Simon's filters.

  • From: Ronald Bourret <rpbourret@r...>
  • To: xml-dev@l...
  • Date: Fri, 24 Aug 2001 14:59:49 -0700

Re: Namespaces
Tim Bray wrote:
> 
> It's difficult for Matt Fuchs and I to have a straightforward
> discussion because there's some terminology getting in the
> way: Matt calls elements which are in a namespace "global" and
> those which aren't "local".  I suspect that he associates some
> [schema-related?] semantics with the terms "local" and
> "global".

I don't believe Matt is saying this at all. Global and local refer to
the scope of definitions, not identifiers. Furthermore, local element
types can be in a namespace or not, depending on the elementFormDefault
flag.

The problem is actually at the level of definitions. The thinking that
DTDs leads us to and that the namespaces spec reinforces is that an
identifier uniquely identifies an element type and that this element
type has a single definition. This doesn't play well with local element
types, as has already been pointed out.

The problem is that, if a local element type is in a namespace, it can
have the same identifier as another local element type defined
elsewhere. Most reasonable people would say that these are two different
identifiers, but that the namespace spec, which is built on the concept
of universal identifiers, doesn't support this.

In other words, local element types effectively introduce a
per-parent-element-type traditional namespace with which to discriminate
the different local element types, just like local attributes
effectively introduce a per-element-type traditional namespace with
which to discriminate the different local attributes.

Put yet another way, local element types don't play well (at all) with
XML namespaces and contradict one of the fundamental assumptions of the
namespaces specification -- that element types can/should have
universally unique identifiers.

-- Ron

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.