[OAI-implementers] setSpec Regular Expression in OAI Reposito ry Explorer

Young,Jeff jyoung@oclc.org
Tue, 25 Mar 2003 16:44:32 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2F317.B8A69064
Content-Type: text/plain;
	charset="iso-8859-1"

Venu,
 
You should omit the setSpec for records that have none rather than creating
an empty element. Regarding "Network Exchange Theory", etc, the problem
appears to be the presence of spaces, which isn't allowed by the xsd. I
suggest you change spaces to plus signs instead. Since '+' is the URL
encoded form for spaces, you may be able to avoid unnecessary character
substitutions when you display them in a browser (e.g. via XSLT).
 
Jeff

-----Original Message-----
From: Venugopal Reddy Pally [mailto:pally_reddy@yahoo.com]
Sent: Tuesday, March 25, 2003 4:18 PM
To: oai-implementers@oaisrv.nsdl.cornell.edu
Subject: [OAI-implementers] setSpec Regular Expression in OAI Repository
Explorer



hi all,

  I am testing my OAI Implementation with OAI Repository Explorer
http://oai.dlib.vt.edu/cgi-bin/Explorer/2.0-1.45/testoai
<http://oai.dlib.vt.edu/cgi-bin/Explorer/2.0-1.45/testoai>  . In
ListIdentifiers, GetRecord responses, I could not understand why some of
setSpecs are treated as errors. 

If setSpec does not have a value for a record, I am leaving it blank i.e.
just <setSpec></setSpec>. But the repository says :

[Error] file4FVZBI:1:517: Datatype error: In element 'setSpec' : Value ''
does not match regular expression facet
'([A-Za-z0-9_!'$\(\)\+\-\.\*])+(:[A-Za-z0-9_!'$\(\)\+\-\.\*]+)*'..


Similarly, it gives the similar errors with some setSpecs like 'Network
Exchange Theory' , 'Ztree code and templates'  etc. Please inform me how to
go about this.

Thanks,

Venu.




  _____  

Do you Yahoo!?
Yahoo!
<http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.htm
l> Platinum - Watch CBS' NCAA March Madness, live
<http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.htm
l> on your desktop!


------_=_NextPart_001_01C2F317.B8A69064
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=295183921-25032003><FONT color=#0000ff 
size=2>Venu,</FONT></SPAN></DIV>
<DIV><SPAN class=295183921-25032003><FONT color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=295183921-25032003><FONT color=#0000ff size=2>You should 
omit&nbsp;the setSpec for records that have none rather than creating an empty 
element. Regarding "Network Exchange Theory", etc, the problem appears to be the 
presence of spaces, which isn't allowed by the xsd. I suggest you change spaces 
to plus signs instead. Since '+' is the URL encoded form for spaces, you may be 
able to avoid unnecessary character substitutions when you display them in a 
browser (e.g. via XSLT).</FONT></SPAN></DIV>
<DIV><SPAN class=295183921-25032003><FONT color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=295183921-25032003><FONT color=#0000ff 
size=2>Jeff</FONT></SPAN></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Venugopal Reddy Pally 
  [mailto:pally_reddy@yahoo.com]<BR><B>Sent:</B> Tuesday, March 25, 2003 4:18 
  PM<BR><B>To:</B> oai-implementers@oaisrv.nsdl.cornell.edu<BR><B>Subject:</B> 
  [OAI-implementers] setSpec Regular Expression in OAI Repository 
  Explorer<BR><BR></FONT></DIV>
  <P>hi all,</P>
  <P>&nbsp; I am testing my OAI Implementation with OAI Repository Explorer <A 
  href="http://oai.dlib.vt.edu/cgi-bin/Explorer/2.0-1.45/testoai">http://oai.dlib.vt.edu/cgi-bin/Explorer/2.0-1.45/testoai</A>&nbsp;. 
  In ListIdentifiers, GetRecord responses, I could not understand why some of 
  setSpecs&nbsp;are treated as errors. </P>
  <P>If setSpec does not have a value for a record, I am leaving it blank i.e. 
  just &lt;setSpec&gt;&lt;/setSpec&gt;. But the repository says :</P>
  <P>[Error] file4FVZBI:1:517: Datatype error: In element 'setSpec' : Value '' 
  does not match regular expression facet 
  '([A-Za-z0-9_!'$\(\)\+\-\.\*])+(:[A-Za-z0-9_!'$\(\)\+\-\.\*]+)*'..<BR></P>
  <P>Similarly, it gives the similar errors with some setSpecs like 'Network 
  Exchange Theory' , 'Ztree code and templates'&nbsp; etc. Please inform me how 
  to go about this.</P>
  <P>Thanks,</P>
  <P>Venu.</P>
  <P><BR>
  <HR SIZE=1>
  Do you Yahoo!?<BR><A 
  href="http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html">Yahoo! 
  Platinum</A> - Watch CBS' NCAA March Madness, <A 
  href="http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html">live 
  on your desktop</A>!</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2F317.B8A69064--