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

Re: namespaces for name attribute values?

  • From: David Brownell <db@E...>
  • To: xml-dev@i...
  • Date: Thu, 01 Oct 1998 06:44:35 -0700

Re: namespaces for name attribute values?
[Resend, now that I can post again!]


  • From: David Brownell <db@e...>
  • To: xml-dev@i...
  • Date: Tue, 22 Sep 1998 10:52:46 -0700
Andrew Layman wrote:
> 
> Perhaps you do not really have a problem.  What I'm thinking is that if you
> wrote something similar to the example you showed,
> 
> <foo xmlns:DC="http://purl.org/metadata/dublin_core">
>    <DC:Creator>Eric Hellman</DC:Creator>
> </foo>
> 
> then the meaning of DC:Creator is not affected by any additions made to
> Dublin Core.  Your DTD remains valid, simply not as extensive as the
> (expanded) Dublin Core.

For Dublin Core, perhaps -- but not in general.  Suppose
the addition were to modify the content model for something
like the "Creator" element referred to above?  Validity isn't
automatically preserved in such cases.

Namespaces need versioning.  URIs can easily include date
codes like "02Nov1997"; W3C itself uses such a scheme, as
you can see by looking at versions of the namespace spec.

I'd expect the definers of such namespaces to identify
their versioning policy, including publishing URLs which
apply to each iteration.  A "most current" URL can be of
use in some cases (loose coupling), but not usually in
systems that depend on precise semantics and hence need
updates to support new features.


So my response to Eric is to get a versioned URL for the
Dublin Core, and to use that!  ;-)

- Dave




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.