You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2013/10/13 15:16:41 UTC

[jira] [Updated] (JENA-563) Statement from Default Model does not throw exception when creating Bag

     [ https://issues.apache.org/jira/browse/JENA-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claude Warren updated JENA-563:
-------------------------------

    Attachment: dummy.java

example code

> Statement from Default Model does not throw exception when creating Bag
> -----------------------------------------------------------------------
>
>                 Key: JENA-563
>                 URL: https://issues.apache.org/jira/browse/JENA-563
>             Project: Apache Jena
>          Issue Type: Bug
>            Reporter: Claude Warren
>         Attachments: dummy.java
>
>
> The documentation for Statement.getBag() states:
> "An exception will be thrown if the object is not a Resource."
> However in the case of the default model creating an Bag on a Literal succeeds.



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