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

Re: limits of the generic

Re:  limits of the generic
[Arjun Ray]"Thomas B. Passin" <tpassin@c...> wrote:
| [Arjun Ray]

|> In what sense are namespaces (as defined in the Rec) "generic"?

| I said "generic" because namespaces apply to all the specializations
| (at least, those that make use of them), but the details of the
| namespaces and what they denote can be specialized.

Well, that's a peculiar statement, too.  Weren't namespaces supposed to be
(the essential component of) a generalization to multiple "vocabularies"
in a single document?  Would we want a specialized way to generalize, or
would we want a generic way to generalize?  Or, are you saying, multiple
vocabularies are a specialization of single vocabularies, and therefore
any method to accomplish that, or even to appear to accomplish that - such
as namespaces - is generic?

[Tom P]

More or less.  We started from XML 1.0.  There all names had equal standing
and were to be treated the same.  There could be name collisions, and the
main way you could distinguish between names from different vocabularies
were by munging the names or by adding attributes that said what the
vocabulary was.  Other conventions could be imagined, and so could ways to
change or extend the xml machinery to help support vocabularies.

I view the current namespaces as being basically a standardized way to mung
the names.  Instead of saying <arjun_a src='xxx'>  or <a vocab='arjun'
src='xxx'> we say <arjun:a src='xxx'> and add the URI that the prefix is an
alias for.  Out of a universe of possible approaches we select one.  The way
I look at it, that is a constraint or specialization, even though it allows
one to distinguish between vocabularies.


Tom P


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.
First Name
Last Name
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.