[OAI-implementers] Beginner Question - Schema Validation Problem

Hussein Suleman hussein@cs.uct.ac.za
Wed, 19 Feb 2003 11:24:14 +0200


hi Keith

after reading your message i couldn't figure out what was wrong, but 
when i tried "Identify" against your archive, i found out that the error 
you quoted continued to say:
   "Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema"
   and a bit more ...

a quick glance confirmed you were using the wrong XMLSchema-instance 
schema ... it is "w3.org" and not "w3c.org"

in general (to everyone i guess) if you cant figure out a problem, 
please give as much info as possible - i am sure there are lots of 
people on this list who can spot errors without the RE ;-)

ttfn,
----hussein


Keith C Klopfer wrote:
> Hello,
> 
> I keep getting the same error when testing my implementation against  
> the Repository Explorer:
> 
> XML Schema Validation Error !
> [Error] filed2FEGP:1:250: General Schema Error: Grammar with uri:  
> http://www.openarchives.org/OAI/2.0/ , can not be found; schema  
> namespace may be wrong:
> 
> I'm at a loss for what's going on.  Any suggestions would be  
> appreciated.  It may have something to do with encoding, but I'm not  
> sure.  My implementation can be found here (temporarily):
> 
> http://www.klopfer.kattare.com/oai/OAIServer
> 
> Here is the output from "verb=Identify":
> 
> <?xml version="1.0" encoding="UTF-8" ?><OAI-PMH  
> xmlns="http://www.openarchives.org/OAI/2.0/"  
> xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/  
> http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"  
> xmlns:xsi="http://www.w3c.org/2001/XMLSchema- 
> instance"><responseDate>2003-02-18</responseDate><request  
> verb="Identify"  >http://www.klopfer.kattare.com/oai/OAIServer</ 
> request><Identify><repositoryName>Test OAI  
> Repository</repositoryName><baseURL>http://www.klopfer.kattare.com/oai/ 
> OAIServer</baseURL><protocolVersion>2.0</ 
> protocolVersion><adminEmail>klopferk@ohsu.edu</ 
> adminEmail><earliestDatestamp>2003-01-01</ 
> earliestDatestamp><deletedRecord>no</deletedRecord><granularity>YYYY- 
> MM-DD</granularity></Identify>
> </OAI-PMH>
> 
> Has anyone else had this error?
> 
> Thanks,
> 
> Keith K.
> 
> 
> 
> _______________________________________________
> OAI-implementers mailing list
> OAI-implementers@oaisrv.nsdl.cornell.edu
> http://oaisrv.nsdl.cornell.edu/mailman/listinfo/oai-implementers


-- 
=====================================================================
hussein suleman ~ hussein@cs.uct.ac.za ~ http://www.husseinsspace.com
=====================================================================