Andrew Waugh writes:
>
> I'd like to check something with the XML crowd...
>
> My understanding is that the namespace identifier is the URI, not the
> label.
>
> For example, in
> <?XML:namespace href="http://purl.oclc.org/metadata/" as="DC"?>
> <DC:Title>Supplying the Mining World</DC:Title>
> the namespace identifier is "http://purl.oclc.org/metadata/" not the
> string "DC".
Hi Andrew. In essence, yes.
> This is simply to make the metadata instance clearer. You could have...
> <http://purl.oclc.org/metadata/:Title>
> Supplying the Mining World
> <\http://purl.oclc.org/metadata/:Title>
> which is sematically equivalent, but much uglier :-)
XML does not define *how* one resolves this (e.g. the string is
concated, element names are relative to the URI reference, etc.), but
yes, you've got the idea.
> Within a metadata instance, the label ("DC") is entirely arbitrary, as
> long as all labels used are unique. You could have...
> <?XML:namespace href="http://purl.oclc.org/metadata/"
> as="Stu'sDream"?>
> <Stu'sDream:Title>Supplying the Mining World</Stu'sDream:Title>
>
> It is clearer if we all use 'DC' to indicate DublinCore attribute. But
> that's only a convention and there is no problem if we need to change
> it to 'DCore' in a particular instance to prevent a name clash with
> another metadata scheme.
Right again... You've brought up a good point, however, and one that
frankly just been assuming but should be agreed upon by the DC
community: the namepsace of the Dublin Core element set. Even though
thr URI is actually what ties all of this together, I frankly think
that early implmentation practices will focus on the string comparison
of the token.
Given this assumption, I've been assuming based on earlier work
(e.g. http://purl.oclc.org/docs/metadata/dublin_core/approach.html)
that we carry over the conventions from the HTML namespace declaration
to RDF/XML.
Is this assumption acceptable to the DC group? In essence, should we
*name* the Dubline Core element set "DC"?
e.g. <?namespace href="http://purl.oclc.org/DublinCore/Schema" as="DC">
comments?
---
eric j. miller OCLC Online Computer Library Center
mailto:[log in to unmask] Office of Research
http://purl.oclc.org/net/eric phone:(614)764-6109
|