OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   namespaces for name attribute values?

[ Lists Home | Date Index | Thread Index ]
  • From: Eric Hellman <eric@hellman.net>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 18 Sep 1998 17:59:51 -0400

Here's the problem:

We're designing an XML DTD. We want the documents to be valid. We would
like to provide for Dublin Core Metadata.

One way to do this is:
<DC xmlns="DC=http://purl.org/metadata/dublin_core">
   <DC:Creator>Eric Hellman</DC:Creator>

This declares the nomenclature of "Creator" in an unambiguous way. (xmlns
could be declared as a default in the DTD) The problem, is that we have no
control over Dublin Core. Dublin Core will get extensions, and we'd rather
not revise our dtd every time Dublin Core changed.

The second way to do this is the HTML way:

<meta name="DC.creator" content="Eric Hellman">

This encapsulates the Dublin core element set from our DTD, but the
nomenclature declaration is absent.

Could a "namespace" declaration be added to an element to declare the
nomenclature for attribute values?:
<meta name="DC:Creator" content="Eric Hellman"

Would this new meaning for a namespace declaration be useful?

Eric Hellman
Openly Informatics, Inc.
http://www.openly.com/           Tools for 21st Century Scholarly Publishing

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS