diff --git a/Cargo.lock b/Cargo.lock index cc30234..ee5c88c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1428,7 +1428,7 @@ checksum = "cbc95d56eb1865f69288945759cc0879d60ee68168dce676730275804ad2b276" [[package]] name = "rickview" -version = "0.3.2" +version = "0.3.3" dependencies = [ "actix-web", "bytesize", diff --git a/Cargo.toml b/Cargo.toml index bc54a34..dd1423a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rickview" -version = "0.3.2" +version = "0.3.3" edition = "2021" license = "MIT" keywords = ["rdf", "semantic-web", "linked-data"] diff --git a/src/rdf.rs b/src/rdf.rs index 5a33574..00ae91a 100644 --- a/src/rdf.rs +++ b/src/rdf.rs @@ -147,8 +147,8 @@ pub fn graph() -> &'static GraphEnum { std::process::exit(1); } None => { - error!("No extension in parse knowledge base file {filename}. Aborting."); - std::process::exit(1); + warn!("{filename} has no extension: assuming RDF/XML."); + Ok(xml::parser::parse_bufread(br).collect_triples().expect("Error parsing {filename} as RDF/XML.")) } }; triples