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

RE: Namespaces, schemas, Simon's filters.

  • From: Michael Brennan <Michael_Brennan@a...>
  • To: 'Evan Lenz' <elenz@x...>, Ronald Bourret <rpbourret@r...>,xml-dev@l...
  • Date: Fri, 24 Aug 2001 17:39:00 -0700

RE: Namespaces
> From: Evan Lenz [mailto:elenz@x...]

<snip/>

> Ron Bourret wrote:
> > I thought of a shorter summary of this:
> >
> > 1) A fundamental assumption of XML is that element types are global.
> 
> Perhaps it's because I don't come from an SGML background and 
> I haven't used
> DTDs much, but this has *not* been one of my assumptions if 
> what you mean by
> "element types are global" is that there is always a one-to-one
> correspondence between an element name and a content model.

<snip/>

> > 2) The namespaces spec reinforces (1) by providing technology that
> > allows people to make element type names be universally unique.
> 
> The namespace spec never reinforced this for me. I think this 
> goes well
> beyond what the namespace spec dictates. 

I would have agreed with you just a few minutes ago. However, I just went
back and reviewed the XML Namespace spec. Sure enough, in section A.2
(http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-breakdown), you'll
find the following language:

    The All Element Types Partition 
    All element types in an XML namespace appear in this 
    partition. Each has a unique local part; the combination 
    of the namespace name and the local part uniquely 
    identifies the element type. 

Right or wrong, that's what the spec says. So either XML Schema is wrong, or
XML Namespaces is wrong.

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.