From a85b2d26c6589f1f7ec98da98d851a5d2438c39c Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Wed, 7 Nov 2018 16:21:28 +0100 Subject: [PATCH] added the schema for provenance (fixes #1) --- .../org/eurocris/openaire/cris/validator/CRISValidator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/eurocris/openaire/cris/validator/CRISValidator.java b/src/main/java/org/eurocris/openaire/cris/validator/CRISValidator.java index 80870bd..5a4c617 100644 --- a/src/main/java/org/eurocris/openaire/cris/validator/CRISValidator.java +++ b/src/main/java/org/eurocris/openaire/cris/validator/CRISValidator.java @@ -183,7 +183,8 @@ protected static synchronized Schema getParserSchema() throws SAXException { schema( "/cached/oai-identifier.xsd" ), schema( "/cached/OAI-PMH.xsd" ), schema( "/cached/oai_dc.xsd" ), - schema( "/cached/xml.xsd", "http://www.w3.org/2001/xml.xsd" ), + schema( "/cached/xml.xsd", "http://www.w3.org/2001/xml.xsd" ), + schema( "/cached/provenance.xsd", "http://www.openarchives.org/OAI/2.0/provenance.xsd" ), } ); } return parserSchema;