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

Peter Ansell commented on MARMOTTA-204:
---------------------------------------

You need to implement handleBoolean on BooleanQueryResultHandler 
implementations, even if it passes its operation off to the deprecated 
write(boolean) method.

The replacement for ValueFactory.createLiteral(Object), which was only in the 
betas, is a static method named Literals.createLiteral(Object, ValueFactory). 
Otherwise you only get strings in future even if there are other supported 
datatypes based on the actual type of the object.

I was also under the impression that you were going to use the new Jackson JSON 
QueryResultWriter and QueryResultParser implementations, given that Sebastian 
contributed part of the code for them.

You may also benefit from using the new QueryResultHandler methods like 
startDocument and handleStylesheet/handleLinks in the HTMLWriter 
implementations.

(I have got so used to code reviews inline at GitHub/BitBucket that it feels 
strange doing this out of context)
                
> Update to Sesame 2.7.0
> ----------------------
>
>                 Key: MARMOTTA-204
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-204
>             Project: Marmotta
>          Issue Type: Bug
>          Components: Build Environment
>    Affects Versions: 3.0-incubating
>            Reporter: Sergio Fernández
>            Assignee: Sergio Fernández
>             Fix For: 3.1-incubating
>
>
> Finally the stable release has been published: 
> http://lists.w3.org/Archives/Public/semantic-web/2013Apr/0105.html
> So we may need to update it in Marmotta.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to