jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [3/3] jena git commit: JENA-811 : Make RDF/XML resolve the base IRI silently.
Date Sun, 16 Nov 2014 14:12:29 GMT
JENA-811 : Make RDF/XML resolve the base IRI silently.

Non-parsable IRI strings are still an exception but parsable strings
which trigger any higher level checking will not cause a parse to abort. 

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/45985afb
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/45985afb
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/45985afb

Branch: refs/heads/master
Commit: 45985afb3596399ba722f08464ddf7e80c2809e2
Parents: 857d05e
Author: Andy Seaborne <andy@apache.org>
Authored: Sun Nov 16 13:59:28 2014 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Sun Nov 16 13:59:28 2014 +0000

----------------------------------------------------------------------
 jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/45985afb/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java b/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java
index ee64c8e..b66d67e 100644
--- a/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java
+++ b/jena-arq/src/main/java/org/apache/jena/riot/RiotReader.java
@@ -150,7 +150,7 @@ public class RiotReader
         if ( lang == RDFXML )
         {
             if ( baseIRI != null )
-                baseIRI = IRIResolver.resolveString(baseIRI) ;
+                baseIRI = IRIResolver.resolveStringSilent(baseIRI) ;
             return LangRDFXML.create(input, baseIRI, baseIRI, ErrorHandlerFactory.getDefaultErrorHandler(),
dest) ;
         } else if ( lang == CSV){
         	return new LangCSV (input, baseIRI, baseIRI, ErrorHandlerFactory.getDefaultErrorHandler(),
 dest);


Mime
View raw message