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

Re: Proposal for src files

  • From: David Megginson <ak117@f...>
  • To: <xml-dev@i...>
  • Date: Thu, 2 Apr 1998 14:29:05 -0500

Re: Proposal for src files
W. Eliot Kimber writes:

 > That's probably because the architecture facility of ISO/IEC 10744
 > doesn't *do* inheritance in the way that most people seem to
 > expect. It lets you define hierarchies of semantic derivation, that
 > is "this element is derived from type X defined by architecture
 > Y". It provides a way to validate elements derived from type X
 > against the DTD rules defined by architecture Y. But that's
 > it. It's completely passive and declarative.

Or, to put it more simply, architectural forms let you say that "Y is
a kind of X", while namespaces let you say nothing but "here's X".

(Read on only if you're interested in the implications of this
difference...)


First, imagine that "X" is an English name, while "Y" is a Korean
name.  If the Korean author is using a Korean DTD to write Korean
documents, why should we force her to use element types with English
names just because a namespace happens to have been created in, say,
the Silicon Valley?

Secondly, what if Y is both a kind of X _and_ a kind of Z?

Finally, what if both W _and_ Y are a kind of Z?

Namespaces seem simple at first, and they are a reasonable solution
for some very specific problems, but they fail entirely in the first
two situations, and require an awkward work-around in the third (using
two or more different namespace declarations and prefixes with the
same URI).


All the best,


David

-- 
David Megginson                 ak117@f...
Microstar Software Ltd.         dmeggins@m...
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.