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

File IRIs with "~" in the direct path cause test failure.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Jena 4.0.0
    • None
    • None

    Description

      This is via the report in JENA-2052 (adding OS's to the GH action).

      It looks like the "~" isn't being handled correctly.

      TestInMemDatasetAssembler
      
      Error:  Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.058 s <<< FAILURE! - in org.apache.jena.sparql.core.assembler.TS_Assembler
      Error:  directDataLinkForDefaultAndNamedGraphs(org.apache.jena.sparql.core.assembler.TestInMemDatasetAssembler)  Time elapsed: 0.004 s  <<< ERROR!
      org.apache.jena.riot.RiotException: [line: 2, col: 70] Bad IRI: <file:///C:/Users/RUNNER~1/AppData/Local/Temp/simpleExample11808722860197512632.nt> : <file:///C:/Users/RUNNER~1/AppData/Local/Temp/simpleExample11808722860197512632.nt> Code: 61/SCHEME_PATTERN_MATCH_FAILED in PATHQUERY: The scheme specific syntax rules are violated.
      	at org.apache.jena.sparql.core.assembler.TestInMemDatasetAssembler.assemble(TestInMemDatasetAssembler.java:65)
      	at org.apache.jena.sparql.core.assembler.TestInMemDatasetAssembler.directDataLinkForDefaultAndNamedGraphs(TestInMemDatasetAssembler.java:99)
      
      Error:  directDataQuadsURI(org.apache.jena.sparql.core.assembler.TestInMemDatasetAssembler)  Time elapsed: 0.012 s  <<< ERROR!
      org.apache.jena.riot.RiotException: [line: 1, col: 70] Bad IRI: <file:///C:/Users/RUNNER~1/AppData/Local/Temp/quadExample10021383197384548684.nq> : <file:///C:/Users/RUNNER~1/AppData/Local/Temp/quadExample10021383197384548684.nq> Code: 61/SCHEME_PATTERN_MATCH_FAILED in PATHQUERY: The scheme specific syntax rules are violated.
      	at org.apache.jena.sparql.core.assembler.TestInMemDatasetAssembler.assemble(TestInMemDatasetAssembler.java:65)
      	at org.apache.jena.sparql.core.assembler.TestInMemDatasetAssembler.directDataQuadsURI(TestInMemDatasetAssembler.java:138)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment