{Disarmed} [ori-oai-tech] Repository - resolu

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:46505a3d55bc638b823348e1ff89557c' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body text=\"#000000\" bgcolor=\"#ffffff\">\n <font size=\"-1\"><font face=\"Verdana\">François,<br>\n <br>\n Si je regarde l\'entrepôt d\'UNIT ils ont fait comme toi.</div>', created = 1507746242, expire = 1507832642, headers = '', serialized = 0 WHERE cid = '4:46505a3d55bc638b823348e1ff89557c' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:46505a3d55bc638b823348e1ff89557c' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\">\n </head>\n <body text=\"#000000\" bgcolor=\"#ffffff\">\n <font size=\"-1\"><font face=\"Verdana\">François,<br>\n <br>\n Si je regarde l\'entrepôt d\'UNIT ils ont fait comme toi.</div>', created = 1507746242, expire = 1507832642, headers = '', serialized = 0 WHERE cid = '4:46505a3d55bc638b823348e1ff89557c' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:406c4131a1373991673cfebfe5248830' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\"><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n <head>\n <meta content=\"text/html; charset=ISO-8859-1\"\n http-equiv=\"Content-Type\">\n </head>\n <body bgcolor=\"#ffffff\" text=\"#000000\">\n Merci Jacques !!<br>\n <br>\n J\'ai corrig&eacute; comme suit le ori-oaicat.example.properties et c\'est ok\n !<br>\n <br>\n #AbstractCatalog.granularity=YYYY-MM-DD<br>\n AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ<br>\n <br>\n <br>\n Alain<br>\n <br>\n <br>\n Le 01/02/2011 12:16, Jacques Brassart a &eacute;crit&nbsp;:\n <div class=\"emailFilter_Toggle\"><div class=\"emailFilter_Author_0\"><blockquote> <defanged_meta content=\"text/html;\n charset=ISO-8859-1\" http-equiv=\"Content-Type\"> Alain,<br>\n <br>\n Si tu regardes :<br>\n <a moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\n href=\"http://ijict.org/index.php/ijoat/oai?verb=Identify\">http://ijict.org/index.php/ijoat/oai?verb=Identify</a><br>\n <br>\n tu verras que les balises :<br>\n&lt;earliestDatestamp&gt;2010-06-02T08:02:00Z&lt;/earliestDatestamp&gt;<br>\n et<br>\n &lt;granularity&gt;YYYY-MM-DDThh:mm:ssZ&lt;/granularity&gt;<br>\n sont coh&eacute;rentes.<br>\n <br>\n C\'est cette incoh&eacute;rence dans ton syst&egrave;me qui doit donner\n l\'erreur.<br>\n <br>\n Jacques<br>\n <br>\n <br>\n Le 01/02/2011 12:01, Alain Le Drezen a &eacute;crit&nbsp;:\n <div class=\"emailFilter_Author_1\"><blockquote>\n <defanged_meta content=\"text/html; charset=ISO-8859-1\"\n http-equiv=\"Content-Type\"> Bonjour,<br>\n <br>\n <br>\n Merci pour vos&nbsp; r&eacute;ponses.<br>\n <br>\n Juste une remarque, dans\n src/ori-oai-repository-svn/conf/properties je n\'ai qu\'un\n ori-oaicat.example.properties et pas de\n orioaicat.properties.<br>\n <br>\n J\'ai modifi&eacute; le ori-oaicat.example.properties et red&eacute;ploy&eacute;.\n C\'est ok pour le repositoryIdentifier.<br>\n <br>\n Un dernier (j\'esp&egrave;re ...) pb survient lors de la validation\n du repository :<br>\n <br>\n (1) Testing : Identify<br>\n URL : <a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify\">http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify</a><br>\n Test Result : OK<br>\n ---- [ Repository Name = Entrepot Universite de Lorraine ]<br>\n ---- [ Protocol Version = 2.0 ]<br>\n ---- [ Base URL = <a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://ori-repository.univ-lorraine.fr/OAIHandler\">http://ori-repository.univ-lorraine.fr/OAIHandler</a>\n ]<br>\n ---- [ Admin Email = <a moz-do-not-send=\"true\"\n class=\"moz-txt-link-abbreviated\"\n href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#111;&#114;&#105;&#45;&#111;&#97;&#105;&#45;&#115;&#116;&#97;&#114;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#111;&#114;&#114;&#97;&#105;&#110;&#101;&#46;&#102;&#114;\">&#111;&#114;&#105;&#45;&#111;&#97;&#105;&#45;&#115;&#116;&#97;&#114;&#64;&#117;&#110;&#105;&#118;&#45;&#108;&#111;&#114;&#114;&#97;&#105;&#110;&#101;&#46;&#102;&#114;</a>\n ]<br>\n ---- [ Granularity = YYYY-MM-DD ]<br>\n ---- [ Earliest Datestamp = 2006-12-04T00:00:00Z ]<br>\n **** [ERROR] Granularity mismatch in earliestDatestamp <br>\n <br>\n <br>\n Si vous avez une id&eacute;e je suis preneur <br>\n <br>\n Merci d\'avance<br>\n <br>\n Alain<br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n <br>\n Le 01/02/2011 10:18, Francois Jannin a &eacute;crit&nbsp;:\n <div class=\"emailFilter_Author_2\"><blockquote> <defanged_meta content=\"text/html;\n charset=ISO-8859-1\" http-equiv=\"Content-Type\">\n <title></title>\n Bonjour,<br>\n <br>\n Bien vu, Jacques.<br>\n En effet, dans l\'element &lt;repositoryIdentifier&gt; on\n ne doit pas avoir le scheme.<br>\n Dans le fichier orioaicat.properties, v&eacute;rifiez que vous\n avez bien la ligne suivante :<br>\n <br>\n Identify.description.1=&lt;description&gt;&lt;oai-identifier\n\n xmlns\\=\"http\\://www.openarchives.org/OAI/2.0/oai-identifier\"\n\n xmlns\\:xsi\\=\"http\\://www.w3.org/2001/XMLSchema-instance\"\nxsi\\:schemaLocation\\=\"http\\://www.openarchives.org/OAI/2.0/oai-identifierhttp\\://www.openarchives.org/OAI/2.0/oai-identifier.xsd\"&gt;&lt;scheme&gt;oai&lt;/scheme&gt;&lt;repositoryIdentifier&gt;[REPOSITORY_IDENTIFIER]&lt;/repositoryIdentifier&gt;&lt;delimiter&gt;\\:&lt;/delimiter&gt;&lt;sampleIdentifier&gt;oai\\:[REPOSITORY_IDENTIFIER]\\:ORI-00000012&lt;/sampleIdentifier&gt;&lt;/oai-identifier&gt;&lt;/description&gt;<br>\n <br>\n Cordialement,<br>\n Fran&ccedil;ois<br>\n <br>\n Le 01/02/2011 10:04, Jacques Brassart a &eacute;crit&nbsp;:\n <div class=\"emailFilter_Author_3\"><blockquote\n cite=\"mid:<span id=\"919301b5c518c9ff00d1a59ebc883be5\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'919301b5c518c9ff00d1a59ebc883be5\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#52;&#68;&#52;&#55;&#67;&#67;&#66;&#49;&#46;&#54;&#48;&#51;&#48;&#52;&#48;&#55;&#64;&#117;&#110;&#105;&#118;&#45;&#118;&#97;&#108;&#101;&#110;&#99;&#105;&#101;&#110;&#110;&#101;&#115;&#46;&#102;&#114;\'+\'\">\'+\'&#52;&#68;&#52;&#55;&#67;&#67;&#66;&#49;&#46;&#54;&#48;&#51;&#48;&#52;&#48;&#55;&#64;&#117;&#110;&#105;&#118;&#45;&#118;&#97;&#108;&#101;&#110;&#99;&#105;&#101;&#110;&#110;&#101;&#115;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>\"\n type=\"cite\">Bonjour Alain, <br>\n <br>\n Sous r&eacute;serve que j\'ai bien compris <a\n moz-do-not-send=\"true\" class=\"moz-txt-link-freetext\"\nhref=\"http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm\">http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm</a>\n ; <br>\n quand tu fais : <br>\n <a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify\">http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify</a>\n <br>\n tu devrais avoir : <br>\n <br>\n &lt;description&gt; <br>\n &lt;oai-identifier xsi:schemaLocation=<a\n moz-do-not-send=\"true\" class=\"moz-txt-link-rfc2396E\"\nhref=\"http://www.openarchives.org/OAI/2.0/oai-identifierhttp://www.openarchives.org/OAI/2.0/oai-identifier.xsd\"><font\n color=\"red\"><b>MailScanner soup&ccedil;onne le lien\n suivant d\'&ecirc;tre une tentative de fraude de la\n part de \"www.openarchives.org\" </b></font>\n \"http://www.openarchives.org/OAI/2.0/oai-identifier\nhttp://www.openarchives.org/OAI/2.0/oai-identifier.xsd\"</a>&gt; <br>\n &lt;scheme&gt;oai&lt;/scheme&gt; <br>\n &lt;repositoryIdentifier&gt;univ-lorraine.fr&lt;/repositoryIdentifier&gt;\n\n\n\n <br>\n &lt;delimiter&gt;:&lt;/delimiter&gt; <br>\n &lt;sampleIdentifier&gt;oai:univ-lorraine.fr:ORI-00000012&lt;/sampleIdentifier&gt;\n\n\n\n <br>\n &lt;/oai-identifier&gt; <br>\n &lt;/description&gt; <br>\n <br>\n et non pas\n&lt;repositoryIdentifier&gt;oai:univ-lorraine.fr&lt;/repositoryIdentifier&gt;<br>\n <br>\n Une piste : commenter le param&egrave;tre\n REPOSITORY_SCHEME_IDENTIFIER donne quoi ? <br>\n <br>\n Jacques <br>\n <br>\n Le 31/01/2011 18:46, Alain Le Drezen a &eacute;crit : <br>\n <div class=\"emailFilter_Author_4\"><blockquote type=\"cite\">Bonjour, <br>\n <br>\n <br>\n J\'essaie de valider notre repository <a\n moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://ori-repository.univ-lorraine.fr/OAIHandler\">http://ori-repository.univ-lorraine.fr/OAIHandler</a>\n sur <a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://re.cs.uct.ac.za/\">http://re.cs.uct.ac.za/</a>.\n <br>\n <br>\n J\'ai toujours les erreurs suivantes : <br>\n <br>\n (1) Testing : Identify <br>\n URL : <a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify\">http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify</a>\n <br>\n ------ Response from Xerces Schema Validation ------\n <br>\n [Error] re.GQQKe1:1:1169: cvc-pattern-valid: Value\n \'oai:univ-lorraine.fr\' is not facet-valid with\n respect to pattern\n \'[a-zA-Z][a-zA-Z0-9\\-]*(\\.[a-zA-Z][a-zA-Z0-9\\-]*)+\'\n for type \'repositoryIdentifierType\'. <br>\n [Error] re.GQQKe1:1:1169: cvc-type.3.1.3: The value\n \'oai:univ-lorraine.fr\' of element\n \'repositoryIdentifier\' is not valid. <br>\n <br>\n <br>\n <br>\n Ceci semble normal car repositoryIdentifierType&nbsp;\n devrait&nbsp; de type FDQN ( <a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm\">http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm</a>\n ) dans notre cas \"univ-lorraine.fr\" . <br>\n En ce qui concerne le&nbsp; repositoryIdentifier je pense\n (mais c\'est pas clair) qu\'il devrait &ecirc;tre de la\n forme&nbsp;&nbsp; \"oai:univ-lorraine.fr:xxxx\" <br>\n <br>\n <br>\n Voici la conf dans notre\n common-parameters.properties: <br>\n <br>\n # L\'identifiant choisi pour l\'entrep&ocirc;t <br>\n REPOSITORY_IDENTIFIER=univ-lorraine.fr <br>\n <br>\n # Le scheme choisi pour l\'entrep&ocirc;t. <br>\n # Il permet d\'identifier l\'entrep&ocirc;t et de pr&eacute;fixer\n vos identifiants par un scheme comme par exemple\n oai:mon-univ.fr <br>\n # Certains schemes impliquent des contraintes qui\n leur sont associ&eacute;es <br>\n # Pour une validation OCLC, pour le scheme oai il\n faut respecter les contraintes d&eacute;crites dans cette\n page : <a moz-do-not-send=\"true\"\n class=\"moz-txt-link-freetext\"\n href=\"http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm\">http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm</a>)\n <br>\n REPOSITORY_SCHEME_IDENTIFIER=oai\\: <br>\n <br>\n # Le nom de l\'entrep&ocirc;t <br>\n REPOSITORY_NAME=Entrepot Universite de Lorraine <br>\n <br>\n <br>\n <br>\n <br>\n Merci d\'avance pour toute aide <br>\n <br>\n <br>\n Alain <br>\n <br>\n <br>\n <br>\n </blockquote></div>\n <br>\n </blockquote></div>\n <br>\n <br>\n <div class=\"moz-signature\">-- <br>\n <!-- <DEFANGED_STYLE type=\"text/css\">\n a:link, a:visited {color: #666666; text-decoration: underline;}\n a:hover, a:active {color: #666666; text-decoration: none;}\n -->\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n width=\"597\">\n </table>\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n width=\"597\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"middle\" width=\"150\"><a\n moz-do-not-send=\"true\"\n href=\"http://www.inp-toulouse.fr\"><defanged_img\nsrc=\"imap:<span id=\"a3d5e92c57484df32761ceb295829e87\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'a3d5e92c57484df32761ceb295829e87\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#47;&#47;&#108;&#101;&#100;&#114;&#101;&#122;&#101;&#110;&#64;&#105;&#109;&#97;&#112;&#46;&#117;&#110;&#105;&#118;&#45;&#109;&#101;&#116;&#122;&#46;&#102;&#114;\'+\'\">\'+\'&#47;&#47;&#108;&#101;&#100;&#114;&#101;&#122;&#101;&#110;&#64;&#105;&#109;&#97;&#112;&#46;&#117;&#110;&#105;&#118;&#45;&#109;&#101;&#116;&#122;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>:993/fetch%3EUID%3E.INBOX%3E72867?header=quotebody&amp;part=1.1.2&amp;filename=inpt.gif\"\n alt=\"\" height=\"46\" width=\"60\" border=\"0\"></defanged_img></a><br>\n </td>\n <td valign=\"bottom\">\n <div defanged_style=\"font-size: 11px;\n font-family: Arial;\"><font color=\"#666666\"><b>Fran&ccedil;ois&nbsp;Jannin</b><br>\n DSI - D&eacute;veloppement et d&eacute;ploiement\n d\'applications<br>\n T&eacute;l : +33 (0)5 34 32 30 51<br>\n </font></div>\n </td>\n </tr>\n </tbody>\n </table>\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n width=\"597\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div defanged_style=\"text-align: left;\n font-size: 9px; font-family: Arial;\"><font\n color=\"#666666\"><defanged_img alt=\"\"\nsrc=\"imap:<span id=\"e390b2fbe7141abbf400b0017fdabd65\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'e390b2fbe7141abbf400b0017fdabd65\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#47;&#47;&#108;&#101;&#100;&#114;&#101;&#122;&#101;&#110;&#64;&#105;&#109;&#97;&#112;&#46;&#117;&#110;&#105;&#118;&#45;&#109;&#101;&#116;&#122;&#46;&#102;&#114;\'+\'\">\'+\'&#47;&#47;&#108;&#101;&#100;&#114;&#101;&#122;&#101;&#110;&#64;&#105;&#109;&#97;&#112;&#46;&#117;&#110;&#105;&#118;&#45;&#109;&#101;&#116;&#122;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>:993/fetch%3EUID%3E.INBOX%3E72867?header=quotebody&amp;part=1.1.3&amp;filename=code_barre_signature.jpg\"\n height=\"58\" width=\"597\"></defanged_img></font></div>\n <br>\n </td>\n </tr>\n </tbody>\n </table>\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"\n width=\"597\">\n <tbody>\n <tr>\n <td valign=\"top\">\n <div defanged_style=\"text-align: right;\n font-size: 9px; font-family: Arial;\"><font\n color=\"#666666\">INP Toulouse<br>\n 6 all&eacute;e Emile Monso - BP 34038<br>\n 31029 Toulouse cedex 4<br>\n <a moz-do-not-send=\"true\"\n href=\"http://www.inp-toulouse.fr\">http://www.inp-toulouse.fr</a><br>\n </font></div>\n </td>\n </tr>\n </tbody>\n </table>\n <table>\n <div defanged_style=\"font-size: 9px; font-family:\n Arial;\" align=\"left\"><defanged_img\nsrc=\"imap:<span id=\"9100882bc513913dc72d7ce5de21ceb0\"></span>\n <script type=\"text/javascript\" > <!--\n document.getElementById(\'9100882bc513913dc72d7ce5de21ceb0\')\n .innerHTML = \'<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;\'+\'&#47;&#47;&#108;&#101;&#100;&#114;&#101;&#122;&#101;&#110;&#64;&#105;&#109;&#97;&#112;&#46;&#117;&#110;&#105;&#118;&#45;&#109;&#101;&#116;&#122;&#46;&#102;&#114;\'+\'\">\'+\'&#47;&#47;&#108;&#101;&#100;&#114;&#101;&#122;&#101;&#110;&#64;&#105;&#109;&#97;&#112;&#46;&#117;&#110;&#105;&#118;&#45;&#109;&#101;&#116;&#122;&#46;&#102;&#114;\' + \'</a>\';\n // --> </script>:993/fetch%3EUID%3E.INBOX%3E72867?header=quotebody&amp;part=1.1.4&amp;filename=sapin.gif\"\n height=\"16\" width=\"16\"><font color=\"#cccccc\">&nbsp;Avant\n\n d&#8217;imprimer ce courriel, demandez-vous si ceci\n est n&eacute;cessaire.</font><br>\n </defanged_img></div>\n </table>\n </div>\n </defanged_meta></blockquote></div>\n <br>\n </defanged_meta></blockquote></div>\n <br>\n <pre class=\"moz-signature\" cols=\"72\">-- \nJacques Brassart\nUNR Nord-Pas de Calais\nUniversit&eacute; de Valenciennes et du Hainaut-Cambr&eacute;sis\nT&eacute;l : 03 27 51 17 70\n</pre>\n </defanged_meta></blockquote></div></div>\n <br>\n </body>\n</html>\n</div>', created = 1507746243, expire = 1507832643, headers = '', serialized = 0 WHERE cid = '4:406c4131a1373991673cfebfe5248830' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
1 message / 0 nouveaux
Dernière contribution
ledrezen
{Disarmed} [ori-oai-tech] Repository - resolu
Merci Jacques !!

J'ai corrigé comme suit le ori-oaicat.example.properties et c'est ok !

#AbstractCatalog.granularity=YYYY-MM-DD
AbstractCatalog.granularity=YYYY-MM-DDThh:mm:ssZ


Alain


Le 01/02/2011 12:16, Jacques Brassart a écrit :
Alain,

Si tu regardes :
http://ijict.org/index.php/ijoat/oai?verb=Identify

tu verras que les balises :
<earliestDatestamp>2010-06-02T08:02:00Z</earliestDatestamp>
et
<granularity>YYYY-MM-DDThh:mm:ssZ</granularity>
sont cohérentes.

C'est cette incohérence dans ton système qui doit donner l'erreur.

Jacques


Le 01/02/2011 12:01, Alain Le Drezen a écrit :
Bonjour,


Merci pour vos  réponses.

Juste une remarque, dans src/ori-oai-repository-svn/conf/properties je n'ai qu'un ori-oaicat.example.properties et pas de orioaicat.properties.

J'ai modifié le ori-oaicat.example.properties et redéployé. C'est ok pour le repositoryIdentifier.

Un dernier (j'espère ...) pb survient lors de la validation du repository :

(1) Testing : Identify
URL : http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify
Test Result : OK
---- [ Repository Name = Entrepot Universite de Lorraine ]
---- [ Protocol Version = 2.0 ]
---- [ Base URL = http://ori-repository.univ-lorraine.fr/OAIHandler ]
---- [ Admin Email = ori-oai-star@univ-lorraine.fr ]
---- [ Granularity = YYYY-MM-DD ]
---- [ Earliest Datestamp = 2006-12-04T00:00:00Z ]
**** [ERROR] Granularity mismatch in earliestDatestamp


Si vous avez une idée je suis preneur

Merci d'avance

Alain













Le 01/02/2011 10:18, Francois Jannin a écrit :
Bonjour,

Bien vu, Jacques.
En effet, dans l'element <repositoryIdentifier> on ne doit pas avoir le scheme.
Dans le fichier orioaicat.properties, vérifiez que vous avez bien la ligne suivante :

Identify.description.1=<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-identifierhttp\://www.openarchives.org/OAI/2.0/oai-identifier.xsd"><scheme>oai</scheme><repositoryIdentifier>[REPOSITORY_IDENTIFIER]</repositoryIdentifier><delimiter>\:</delimiter><sampleIdentifier>oai\:[REPOSITORY_IDENTIFIER]\:ORI-00000012</sampleIdentifier></oai-identifier></description>

Cordialement,
François

Le 01/02/2011 10:04, Jacques Brassart a écrit :
" type="cite">Bonjour Alain,

Sous réserve que j'ai bien compris http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm ;
quand tu fais :
http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify
tu devrais avoir :

<description>
<oai-identifier xsi:schemaLocation=MailScanner soupçonne le lien suivant d'être une tentative de fraude de la part de "www.openarchives.org" "http://www.openarchives.org/OAI/2.0/oai-identifier http://www.openarchives.org/OAI/2.0/oai-identifier.xsd">
<scheme>oai</scheme>
<repositoryIdentifier>univ-lorraine.fr</repositoryIdentifier>
<delimiter>:</delimiter>
<sampleIdentifier>oai:univ-lorraine.fr:ORI-00000012</sampleIdentifier>
</oai-identifier>
</description>

et non pas <repositoryIdentifier>oai:univ-lorraine.fr</repositoryIdentifier>

Une piste : commenter le paramètre REPOSITORY_SCHEME_IDENTIFIER donne quoi ?

Jacques

Le 31/01/2011 18:46, Alain Le Drezen a écrit :
Bonjour,


J'essaie de valider notre repository http://ori-repository.univ-lorraine.fr/OAIHandler sur http://re.cs.uct.ac.za/.

J'ai toujours les erreurs suivantes :

(1) Testing : Identify
URL : http://ori-repository.univ-lorraine.fr/OAIHandler?verb=Identify
------ Response from Xerces Schema Validation ------
[Error] re.GQQKe1:1:1169: cvc-pattern-valid: Value 'oai:univ-lorraine.fr' is not facet-valid with respect to pattern '[a-zA-Z][a-zA-Z0-9\-]*(\.[a-zA-Z][a-zA-Z0-9\-]*)+' for type 'repositoryIdentifierType'.
[Error] re.GQQKe1:1:1169: cvc-type.3.1.3: The value 'oai:univ-lorraine.fr' of element 'repositoryIdentifier' is not valid.



Ceci semble normal car repositoryIdentifierType  devrait  de type FDQN ( http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm ) dans notre cas "univ-lorraine.fr" .
En ce qui concerne le  repositoryIdentifier je pense (mais c'est pas clair) qu'il devrait être de la forme   "oai:univ-lorraine.fr:xxxx"


Voici la conf dans notre common-parameters.properties:

# L'identifiant choisi pour l'entrepôt
REPOSITORY_IDENTIFIER=univ-lorraine.fr

# Le scheme choisi pour l'entrepôt.
# Il permet d'identifier l'entrepôt et de préfixer vos identifiants par un scheme comme par exemple oai:mon-univ.fr
# Certains schemes impliquent des contraintes qui leur sont associées
# Pour une validation OCLC, pour le scheme oai il faut respecter les contraintes décrites dans cette page : http://www.openarchives.org/OAI/2.0/guidelines-oai-identifier.htm)
REPOSITORY_SCHEME_IDENTIFIER=oai\:

# Le nom de l'entrepôt
REPOSITORY_NAME=Entrepot Universite de Lorraine




Merci d'avance pour toute aide


Alain






--
:993/fetch%3EUID%3E.INBOX%3E72867?header=quotebody&part=1.1.2&filename=inpt.gif" alt="" height="46" width="60" border="0">
François Jannin
DSI - Développement et déploiement d'applications
Tél : +33 (0)5 34 32 30 51
:993/fetch%3EUID%3E.INBOX%3E72867?header=quotebody&part=1.1.3&filename=code_barre_signature.jpg" height="58" width="597">

INP Toulouse
6 allée Emile Monso - BP 34038
31029 Toulouse cedex 4
http://www.inp-toulouse.fr
:993/fetch%3EUID%3E.INBOX%3E72867?header=quotebody&part=1.1.4&filename=sapin.gif" height="16" width="16"> Avant d’imprimer ce courriel, demandez-vous si ceci est nécessaire.


-- 
Jacques Brassart
UNR Nord-Pas de Calais
Université de Valenciennes et du Hainaut-Cambrésis
Tél : 03 27 51 17 70