Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-563

Statement from Default Model does not throw exception when creating Bag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. dummy.java
          0.8 kB
          Claude Warren

        Activity

          People

            Unassigned Unassigned
            claude Claude Warren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: