Skip to content

Commit

Permalink
Merge pull request #4919 from IQSS/change-xmlvalidator-to-use-https
Browse files Browse the repository at this point in the history
fixed the test
  • Loading branch information
kcondon authored Aug 3, 2018
2 parents ebb6150 + 05bb31c commit 68b535c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class XmlValidatorTest {

@Test
public void testValidateXml() throws IOException, SAXException, ParserConfigurationException {
assertTrue(XmlValidator.validateXmlSchema("src/test/java/edu/harvard/iq/dataverse/util/xml/sendToDataCite.xml", new URL("http://schema.datacite.org/meta/kernel-3/metadata.xsd")));
assertTrue(XmlValidator.validateXmlSchema("src/test/java/edu/harvard/iq/dataverse/util/xml/sendToDataCite.xml", new URL("https://schema.datacite.org/meta/kernel-3/metadata.xsd")));
// FIXME: Make sure the DDI we export is valid: https://github.com/IQSS/dataverse/issues/3648
// assertTrue(XmlValidator.validateXml("src/test/java/edu/harvard/iq/dataverse/export/ddi/dataset-finch1.xml", new URL("http://www.ddialliance.org/Specification/DDI-Codebook/2.5/XMLSchema/codebook.xsd")));
}
Expand Down

0 comments on commit 68b535c

Please sign in to comment.