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

Re: Another look at namespaces

  • From: Paul Prescod <paul@p...>
  • To: David Megginson <david@m...>
  • Date: Fri, 17 Sep 1999 00:09:28 +0200

Re: Another look at namespaces
David Megginson wrote:
> 
> 1. An application must be able to determine the general language used
>    by (part of) a document.
> 2. An application must be able to determine the specific dialect used
>    by (part of) a document.

David, can you please define "general language" and "dialect" in a
manner that I can implement in a computer program? Is "XML" a general
language? Is "XHTML" a dialect? Is "XSLT" a language and "XSLT used with
XSL FOs" a dialect? Please don't appeal to my common sense or intuition
because I have neither and unfortunately neither does my Pentium 233.

> We mustn't make easy tasks difficult for the sake of theoretical
> purity -- 

It isn't a question of theoretical purity. It's a question of
implementability. According to your model every "language" and "dialect"
becomes a special case because there is no definition of what is a
language and what is a dialect. You can't design a general purpose
processor for mapping dialects into languages or between dialects
because it's all "language" specific. Want to know how HTML dialects are
related? Go read the HTML spec. Want to know how SVG dialects are
related? Go read the SVG spec.

> I know, because we tried to do that over and over again in
> the SGML world, and, well, we're not debating SGML any more, are we?

It seems that we are. Renamed, retargeted and revamped -- and getting
"purer and purer" every day (for better or worse). Compare the design
purity of, let's say CONCUR to that of namespaces (not entirely
unrelated problem domains, BTW). And let's not even get into SHORTREF.
SGML was NOT a purist design -- XML is closer but is still pretty far
away from purity.

 Paul Prescod

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/ and on CD-ROM/ISBN 981-02-3594-1
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.