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

Curtis Fornadley curtisf@library.ucla.edu
Mon, 20 May 2002 15:16:59 -0700 (Pacific Daylight Time)


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