Skip to content
Snippets Groups Projects
Commit 692344ba authored by Piotr Gawron's avatar Piotr Gawron
Browse files

some partially filled rdf collections are considered valid

parent 88650c46
No related branches found
No related tags found
1 merge request!717Resolve "process vcard data that can appear in model annotations"
Pipeline #9612 passed
......@@ -97,24 +97,6 @@ public class XmlAnnotationParserTest extends ConverterTestFunctions {
}
}
@Test
public void testParseInvalidRdf2() throws Exception {
try {
XmlAnnotationParser xap = new XmlAnnotationParser();
String xml = readFile("testFiles/annotation/invalid_rdf.xml");
xap.parse(xml);
fail("Exception expected");
} catch (InvalidXmlSchemaException e) {
assertTrue(e.getMessage().contains("rdf:Description node not found"));
} catch (Exception e) {
e.printStackTrace();
throw e;
}
}
@Test
public void testParseInvalidRdf3() throws Exception {
try {
......
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:vCard="http://www.w3.org/2001/vcard-rdf/3.0#" xmlns:bqbiol="http://biomodels.net/biology-qualifiers/" xmlns:bqmodel="http://biomodels.net/model-qualifiers/">
</rdf:RDF>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment