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

Re: Another look at namespaces

  • From: David Megginson <david@m...>
  • To: XML-DEV <xml-dev@i...>
  • Date: Thu, 16 Sep 1999 17:50:24 -0400 (EDT)

Re: Another look at namespaces
Paul Prescod writes:

 > 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? 

A language is an arbitrary point in a continuum, discovered
empirically.  For example, consider the following:

  Marked-up text => SGML => HTML => HTML 4.0 => HTML 4.0 strict

There is a very large set of software that can work with HTML (more or 
less interoperably), but considerably less software that works with
SGML in general, and almost nothing that works exclusively with HTML
4.0, much less HTML 4.0 strict.  More importantly, there is a
well-defined set of behaviours associated with the software that works 
with HTML, and that set of behaviours is generally considered useful
in itself.

The same thing applies in natural languages:

  Indo-European => Germanic => English => Canadian => Ontario => Toronto

It's easy but wasteful to make too much of small distinctions, though
it's still important to be able to present them.

 > 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.

It depends on your perspective.  Since we're talking about Namespaces
in XML documents, then XML itself is the universe, so you can remove
it from the equation.  XSLT and XSL FOs are separate languages that
happen to work well together because they don't really compete (unlike
two natural languages, and more like, say, Algebra and English).

Of course, we won't know this for certain until there are enough
implementations of XSLT and XSL FOs to see how people are using them
-- the proof is in the implementation, not the design.


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.com/

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.