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

sourceConstraintComponent returning type Constraint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 4.3.2
    • Jena 4.4.0
    • SHACL
    • None

    Description

      In org.apache.jena.shacl.validation.ReportEntry, should

       

      public Constraint sourceConstraintComponent() { return constraint; }

       

      instead be

       

      public Node sourceConstraintComponent() { return sourceConstraintComponent; }

       

      since it's possible for constraint to be null while sourceConstraintComponent is not null;

      Attachments

        1. scc_example.zip
          2 kB
          David Beaudet

        Activity

          People

            andy Andy Seaborne
            beaudet David Beaudet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: