Hello,

I've fixed the problem: the validator made troubles because there was no 
xsi:schemaLocation in the XML file.
Nevertheless, the DC record hasn't any and it works...still confusing but it 
works.

Greetings,
Markus


----- Original Message ----
From: Markus Höckner <hoec...@yahoo.com>
To: fedora-commons-users@lists.sourceforge.net
Sent: Monday, June 15, 2009 1:35:12 PM
Subject: [Fedora-commons-users] OAI provider problem


Hello everyone,

i'm configuring the OAI provider (Fedora 3.2) and got a big problem, maybe 
someone can help me? :)

The problem is: when i change the 

driver.fedora.md.format.oai_dc.dissType = info:fedora/*/DC

to 

driver.fedora.md.format.oai_dc.dissType = info:fedora/*/bdef:Asset/getDC

I get a validation error. 
Here the proai.log:

DEBUG 2009-06-15 13:04:04.823 [Worker-1of1]
(fedora.client.FedoraClient) FedoraClient is getting
https://MYSERVER/fedora/get/o:999/bdef:Asset/getDC
DEBUG 2009-06-15 13:04:04.849 [Committer] (proai.cache.Committer) Commit queue 
is empty; waiting for worker(s)
DEBUG 2009-06-15 13:04:04.951 [Committer] (proai.cache.Committer) Commit queue 
is empty; waiting for worker(s)
WARN 2009-06-15 13:04:04.984 [Worker-1of1] (proai.cache.Worker) Failed to 
process record
net.sf.bvalid.ValidationException: Error on line 8:
cvc-complex-type.2.4.c: The matching wildcard is strict, but no
declaration can be found for element 'oai_dc:dc'.
        at 
net.sf.bvalid.xsd.XercesXSDValidator.doValidation(XercesXSDValidator.java:119)
        at 
net.sf.bvalid.xsd.XercesXSDValidator.validate(XercesXSDValidator.java:66)
        at proai.cache.Worker.attempt(Worker.java:86)
        at proai.cache.Worker.run(Worker.java:51)

The XML of the disseminator getDC is the same as DC. 
Without the change everything works fine - no validation errors...
And when i define an own format I also get these validation errors, but when i 
test the XML manually it's valid!

This is confusing...

Greetings from Austria,
Markus


      

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users



      

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to