[OAI-implementers] Question regarding nameapses in V2.0

herbert van de sompel herbertv@lanl.gov
Tue, 21 May 2002 08:25:45 -0600


Curtis,

you are definitely right about this.  generally speaking, the second
occurence of the Namespace URI is redundant.  the reason we nevertheless
include it in the dc-part is to make that part self-contained: if you
extract the dc part from the encapsulating OAI-PMH, it still stands as a
document that can be validated.

I hope this helps.

greetings

herbert van de sompel

Curtis Fornadley wrote:

> Hi
> In a GetRecord example
>
> We have
> <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
>          http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
>
> and then later
>
> <oai_dc:dc
>          xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
>          xmlns:dc="http://purl.org/dc/elements/1.1/"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/
>          http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
>
> Is the second occurance of
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> In the dc section redundant?
>
> the xsi namespace should be availabe to children in this case the <dc>
> construct
>
> Thus it could read
> <oai_dc:dc
>          xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
>          xmlns:dc="http://purl.org/dc/elements/1.1/"
>         xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/
>          http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
>
> Thanks for any info
>
> Curtis Fornadley
> 310.206.9782
> Fax: 310.206.5337

--
Herbert Van de Sompel
digital library research & prototyping
Los Alamos National Laboratory - Research Library
+ 1 (505) 667 1267 / http://lib-www.lanl.gov/~herbertv/

objects on mirror sites are closer than they appear