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

Jean-Marc Vanel commented on JENA-1335:
---------------------------------------

[~andy.seaborne]  what is happening inside semantic-forms.cc is just only 
calling
 org.apache.jena.riot.RDFDataMgr.open(RDFDataMgr.java:829)

and this creates troubles in the particular cases when it *not* an RDF document 
(behavior expected throwing exception).
I'll try to make a short Java snippet to exhibit the problem.

To solve my problem in Semantic_forms, I added a HEAD HTTP request to avoid 
calling RDFDataMgr.open() in such cases.

As for Semantic_forms, it is quite easy to build with SBT ( a Maven like for 
Scala ):
https://github.com/jmvanel/semantic_forms/tree/master/scala/forms_play#run-locally-from-sources


 

> HttpOp does not close HttpResponses.
> ------------------------------------
>
>                 Key: JENA-1335
>                 URL: https://issues.apache.org/jira/browse/JENA-1335
>             Project: Apache Jena
>          Issue Type: Bug
>    Affects Versions: Jena 3.3.0
>            Reporter: Andy Seaborne
>
> From 
> https://lists.apache.org/thread.html/d38ee72f8aabbebc86154fa5915ec14009b38d2c815146470034921a@%3Cusers.jena.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to