OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Another look at namespaces

[ Lists Home | Date Index | Thread Index ]
  • From: Paul Prescod <paul@prescod.net>
  • To: David Megginson <david@megginson.com>
  • Date: Fri, 17 Sep 1999 00:09:28 +0200

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@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS