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

Statement from Default Model does not throw exception when creating Alt

    XMLWordPrintableJSON

Details

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

    Description

      The documentation for Statement.getAlt() states:
      "An exception will be thrown if the object is not a Resource."

      However in the case of the default model creating an Alt on a Literal succeeds.

      Attachments

        1. dummy.java
          0.7 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: