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

RE: Suggested guidelines for using local types. (was Re: Enlightenmentvi

  • From: "Fuchs, Matthew" <matthew.fuchs@c...>
  • To: Jonathan Borden <jborden@m...>, xml-dev@l...
  • Date: Thu, 06 Sep 2001 08:03:34 -0700

toplevel .local


> -----Original Message-----
> From: Jonathan Borden [mailto:jborden@m...]
> Sent: Wednesday, September 05, 2001 11:28 AM
> To: Jonathan Borden; Fuchs, Matthew; xml-dev@l...
> Subject: Re: Suggested guidelines for using local types. (was Re:
> Enlightenmentvia avoiding the T-word)
> 
> 
> 
> >
> > Of course one define identical syntaxes with DTDs which 
> don't need to
> invoke
> > such "local" and "global" differentiations. I wonder what 
> the real need
> for
> > this complexity is?
> >
> 
> Let me restate this, because the point I am trying to make 
> has nothing to do
> with the distinction between DTDs and XSDL or RELAXNG, and 
> everything to do
> with how namespaces are used in XML documents.
> 
> That should read: "Of course one can define identical 
> syntaxes with other
> schema languages ( e.g. RELAXNG) which don't need to invoke 
> ..." The point
> being here, that there is a distinction between the label 
> given to a pattern
> of elements (e.g. the complexType name) and the name of the 
> element itself.
> 

Yes, there is a distinction between complexType labes and element labels,
but I'm not sure how that's relevant here.

> In well-formed documents, there is only one root/document 
> element, so are
> you suggesting that we call all elements which are not 
> allowed to be at the
> top level "local"? That would be fine with me, but I would 
> hardly suggest
> that all such elements be unqualified. 

That is a practice which makes no sense to me.  That would be like having no
namespaces at all.

I understand that this 
> is not exactly
> how -XSDL defines- "local element" but what I am trying to 
> get at is not how
> such a term is defined in XSDL, but rather what the practical 
> meaning of
> this term is.
> 

How the term is defined in XSDL is _a_ practical meaning of this term, where
the term is applicable to an aspect of the semantics of the element (can
only appear in a particular context - and no schema author can validly allow
it to appear elsewhere), and not to its appearance in an instance.  I don't
think calling all elements other than the root "local" is a practical
meaning.  A practical term would be to call elements one of root, interior
or leaf, following standard terminology for trees.  I really am talking only
about XSDL local elements - I think the traditional notion of element
corresponds to what in XSDL terminology are global elements, local elements
are something different, and it is a good idea to distinguish them so as not
to clobber applications in strange ways.

Matthew

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.