[ 
https://issues.apache.org/jira/browse/JENA-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818210#comment-13818210
 ] 

Hudson commented on JENA-585:
-----------------------------

SUCCESS: Integrated in Jena_Development_Test #1037 (See 
[https://builds.apache.org/job/Jena_Development_Test/1037/])
JENA-585 : Add a reader that is as web-friendly as possible. (andy: rev 1540337)
* 
/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/adapters/AdapterFileManager.java
* 
/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/adapters/RDFReaderRIOT.java
* 
/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/adapters/RDFReaderRIOT_Web.java
* 
/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/system/IO_JenaReaders.java
* 
/jena/trunk/jena-arq/src/test/java/org/apache/jena/riot/system/TestIO_JenaReaders.java
* 
/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/rdf/model/impl/RDFReaderFImpl.java


> model.read(url) to be more general in syntax choice.
> ----------------------------------------------------
>
>                 Key: JENA-585
>                 URL: https://issues.apache.org/jira/browse/JENA-585
>             Project: Apache Jena
>          Issue Type: Improvement
>    Affects Versions: Jena 2.10.1
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>
> Currently, {{model.read(url)}} will choose RDF/XML too readily.
> The decision should be: content-type (if not text/plain), guess from URl file 
> extension, and only as a last resort RDF/XML (best for compatibility).  Other 
> operations already exist for the app to name the syntax directly.
> The presenting problem is a file like http://host/data.ttl just dumped on a 
> server - it probably get served as text/plain.  RDFDataMgr.read(url) will 
> work.  This JIRA is extending that to model.read(url) where there is always a 
> default syntax.  Normally, if the syntax is given, it is to override the 
> implicit one but in this case we want it to be a "soft default", only used if 
> there is no other sensible choice.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to