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

Re: Another look at namespaces

  • From: "James Tauber" <jtauber@j...>
  • To: "Simon St.Laurent" <simonstl@s...>, "Paul Prescod" <paul@p...>, "Rick Jelliffe" <ricko@a...>
  • Date: Sun, 19 Sep 1999 10:20:00 +0800

perscriptive grammar
Simon St.Laurent wrote:
> We seem to have fallen into linguistics.

And the problem with that is what exactly? :-)

Rick Jelliffe wrote:
> >> Again, Andrew is simply conflating schema and namespace.  The idea that
> >> he and Tim are putting forward is that a language is defined by a
single
> >> set of content models; this confuses "language" with "grammar"

Paul Prescod wrote:
> >What definition of language are you using that does NOT state that every
> >language has one and only one grammar. Is there a book I can read that
> >defines it? The SGML Cookbook doesn't count.

Simon St.Laurent wrote:
> I could start with H.L. Mencken's _The American Language_ (Fourth Edition
> with Supplements, 1948), in particular a citation of Noah Webster, in
1789:
> (second supplement, p. 333)

Simon, you are talking about natural languages whereas Paul is talking about
formal languages. A formal language is a set of valid utterances. A (formal)
grammar is a collection of rules for generating that set of utterances.

Mind you, the notion of a formal grammar for a natural language is largely
due to Chomsky and you've already said you were never fond of him :-)

But that aside, XML is a formal language, not a natural one. Likewise, HTML
4.0 is (despite what anyone says) three separate (formal) languages. In the
case of HTML 4.0, the three share a common vocabulary, but they are separate
languages. <aside>Namespaces, by the REC's definition, are about
vocabularies, not languages.</aside>

[...]
> "They seem not to consider that grammar is formed on language, and not
language on grammar."
> That last sentence seems to summarize the problem we're having here.

Both "grammar" and "language" as they are used in this quote predate formal
notions by quite a few years! I think Noah Webster's point is merely that
linguistics should be descriptive, not perscriptive (first lesson in
Linguistics 101)

However, that point is misleading at best when applied to formal languages.
In particular:

* XML is a language defined by a grammar.

* The XML REC clearly says that a DTD is a grammar for a class of documents.
In a formal language view, this class of documents is a set of
utterances---a formal language.

> Whether or not _The SGML Cookbook_ makes this claim that a language is not
> constrained to a single grammar, I'll be making that claim in my next
book,

Depending on what you mean by "not constrained to" and what type of
languages you mean, I either completely agree or completely disagree with
you :-)

James
--
James Tauber / jtauber@j... / www.jtauber.com
Maintainer of : www.xmlinfo.com,  www.xmlsoftware.com and www.schema.net
<pipe>Ceci n'est pas une pipe</pipe>



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.