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

RE: Namespaces, schemas, Simon's filters.

  • From: Tim Bray <tbray@t...>
  • To: xml-dev@l...
  • Date: Wed, 29 Aug 2001 11:52:32 -0700

RE: Namespaces
At 11:12 AM 29/08/01 -0700, Fuchs, Matthew wrote:
>One doesn't really need any new syntax.  If we consider complexTypes as
>introducing a new namespace (which we're perfectly free to do - the NS rec
>doesn't say anything about how you create or name a namespace, nor much
>about what a namespace is) then xsi:type is an attribute that says "the
>default namespace within this element is the namespace created by the
>complexType with this name".  That's it.

Suppose I believe that it's crucially important to be able to map 1-1 
from labels to schema definitions (I don't, although Rick & Matt have 
argued convincingly that it's good practice).  Suppose I believe that 
the way to accomplish this mapping is via the labels themselves (I 
don't; I think decorating the instance with definition-pointer 
attributes - from a different namespace, natch - is the way to go).

If I believed those things, I'd be violently against tying namespace 
creation to any particular schema language.  Matt is correct that the 
NS rec says nothing about how you "create" a namespace, it just tells 
you how to put elements and attributes in them.  If what is required is
a new way to put markup in namespaces, we'd need a generalized 
interface for doing this that an XSDL processor or any other software
has access to.  I also think that it's pretty important that in general, 
applications of different classes, upon reading a document, all agree 
what namespaces pieces of markup are in.  At the moment, the only
way I can see to accomplish this is by putting the namespace syntax 
right there in the instance. -Tim


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.