[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: Rick Jelliffe <ricko@a...>
  • To: xml-dev@l...
  • Date: Fri, 07 Sep 2001 17:16:33 +1000

Re: Suggested guidelines for using local types. (was Re: Enlightenmentvi
 From: "James Clark" <jjc@j...>
 
> Not everybody seems to be answering the same question here.  We can 
> distinguish the questions:
> 
> (a) If the meaning/allowed content of an element is highly 
> context-dependent, should the name of the element be namespace qualified or 
> not?
> 
> (b) If an element is declared by an XSL local type, should the name of the 
> element be namespace qualified or not?

> From my perspective, question (a) is the primary question..

Good questions. Here is the one I would add:

  Should an XML name carry enough information in it to let a program(mer)
know whether the name is univocal (i.e., a single meaning and a single type
including restrictions, considered broadly, or extensions of that type) or eqivocal 
(i.e. different meanings in situ or different types)?

In other words, should programmers trust markup?  

It seems to me the only signal available to signal equivocality is the
unqualified name. It is a warning: "I could be anything...I have to be
handled explicitly according to my context...default handling is fragile."
Similarly, everything that does have a namespace should be saying
"no harm will come to they who handle me using defaults".
 
Cheers
Rick Jelliffe



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.