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

Re: Motivations for namespaces (sorry)


squirrel namespaces

Thomas B. Passin said:

> That is a different kind of thing, Eric, that's all.  I wasn't trying
> to identify document types.

I must have read this out of context, sorry but I thought that's where we
had ended up...
And I do think that we have a problem for defining document types even if
this not the point of the discussion ;-) ...
> But even in this example, say I wanted to
> be sure what dc:publisher really was supposed to be, so I can ut the
> right data in there.  "dc"  is pretty familiar - I would probably say
> to myself, "hey, I bet that is Dublin Core, let's see, the URL has
> purl.org/dc, so I am going to pull out my Dublin Core info and check it
> out" (and the first thing I will do is to check the namespace, because
> I don't remember it exactly).

I agree that prefixes are easier to identify and memorized for human
readers, but that's also dangerous: that's what makes it difficult for us
to spot XSLT transformations using the old namespace for instance!
I see namespaces as a hack which is doing what it's been designed for (no
more, no less) and has unexpected side effects (such as the fact that we,
human readers, attach more importance to the prefix than to the URI and
also  such as QNames in values which abuse the xmlns declaration).
Eric
-- 
Freelance consulting and training.
                                            http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------




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.