[OAI-implementers] Stuck on Identity verb version 2.0

Jose Blanco blancoj@umich.edu
Fri, 12 Jul 2002 10:58:37 -0400


Thnaks to those of you who noticed this.

Jose
----- Original Message -----
From: "Simeon Warner" <simeon@cs.cornell.edu>
To: "Jose Blanco" <blancoj@umich.edu>
Cc: "OAI Implementors" <oai-implementers@oaisrv.nsdl.cornell.edu>
Sent: Friday, July 12, 2002 10:54 AM
Subject: Re: [OAI-implementers] Stuck on Identity verb version 2.0


>
> I just threw your baseURL at
> http://oai.dlib.vt.edu/cgi-bin/Explorer/oai2.0/testoai
> and it seems to find no objection to most of the Identify response,
> the error is just the oai-identifier part:
>
> [Error] filehhJHBD:21:63: Datatype error: In element
'repositoryIdentifier': Value 'dlpscoll' does not match regular expression
facet '[a-zA-Z][a-zA-Z0-9\-]*(\.[a-zA-Z][a-zA-Z0-9\-]+)+'..
> [Error] filehhJHBD:23:71: Datatype error: In element 'sampleIdentifier' :
Value 'oai:dlpscoll:YEATS-YC023' does not match regular expression facet
'oai:[a-zA-Z][a-zA-Z0-9\-]*(\.[a-zA-Z][a-zA-Z0-9\-]+)+:[a-zA-Z0-9\-_\.!~\*'\
(\);/\?:@&=\+$,%]+'..
>
> In the v2 oai-identifier spec, the repositoryIdentifier must be domain
> name based (see:
> http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm)
> and must include at least one period. Your repositoryIdentifier
> 'dlpscoll' does not match the pattern. (Hence also the sampleIdentifier
> also fails to match the pattern)
>
> The v1 and v2 oai-identifier specs are not compatible as pointed out in
> section 2.4 of the v2 oai-identifier spec.
>
> Cheers,
> Simeon.
>
>
> On Fri, 12 Jul 2002, Jose Blanco wrote:
> > I have just implemented version 2.0 of the protocol, but I cannot get
> > Husseins validator to validate the Identity verb.  I am stuck.  Can some
one
> > look at  my response and tell me what is wrong?
> >
> > Response:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <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">
> >   <responseDate>2002-07-12T10:12:21+00:00</responseDate>
> >   <request
> > verb="Identify">http://www.hti.umich.edu/cgi/b/broker/broker20</request>
> > <Identify>
> >   <repositoryName>The University of Michigan. University Library.
Digital
> > Library Production Service.</repositoryName>
> >   <baseURL>http://www.hti.umich.edu/cgi/b/broker/broker</baseURL>
> >   <protocolVersion>2.0</protocolVersion>
> >   <adminEmail>dlps-broker@umich.edu</adminEmail>
> >   <earliestDatestamp>2000-08-17</earliestDatestamp>
> >   <deletedRecord>no</deletedRecord>
> >   <granularity>YYYY-MM-DD</granularity>
> >   <compression>identity</compression>
> >   <description>
> >     <oai-identifier
> >         xmlns="http://www.openarchives.org/OAI/2.0/oai-identifier"
> >         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >         xsi:schemaLocation=
> >             "http://www.openarchives.org/OAI/2.0/oai-identifier
> >              http://www.openarchives.org/OAI/2.0/oai-identifier.xsd">
> >      <scheme>oai</scheme>
> >      <repositoryIdentifier>dlpscoll</repositoryIdentifier>
> >      <delimiter>:</delimiter>
> >      <sampleIdentifier>oai:dlpscoll:YEATS-YC023</sampleIdentifier>
> >   </oai-identifier>
> >  </description>
> > </Identify>
> > </OAI-PMH>
> >
> >
> > Thanks,
> > Jose
> >
> > _______________________________________________
> > OAI-implementers mailing list
> > OAI-implementers@oaisrv.nsdl.cornell.edu
> > http://oaisrv.nsdl.cornell.edu/mailman/listinfo/oai-implementers
> >
>
> _______________________________________________
> OAI-implementers mailing list
> OAI-implementers@oaisrv.nsdl.cornell.edu
> http://oaisrv.nsdl.cornell.edu/mailman/listinfo/oai-implementers
>