afs opened a new pull request, #2801:
URL: https://github.com/apache/jena/pull/2801

   GitHub issue resolved #2800
   
   This PR adds a new module jena-iri3986 as a new IRIProvider for Jena.
   
   * Parsing N-triples when calling RDFParser is now by default consistently 
free of warnings for ill-advised (syntax correct but with URI scheme 
violation). Jena has been inconsistent. `riot` defaults to checking, as before.
   * [RFC 8089](https://datatracker.ietf.org/doc/html/rfc8089) - the `file:` 
URI scheme.
   * Error and waring messages change
   * URNs:
     * Add support and checking of [RFC 8141 URN 
Components](https://www.rfc-editor.org/rfc/rfc8141.html#section-2.3)
     * Support and validate certain URN namespaces, "uuid" and "oid".
     * 
   
   Bug fix: URN resolution. Jena 5.2.0 does not resolve URNs according to IRI 
path rules (this mainly affects Jena's tests that used `urn:x-hp:eg/` - tests 
have been changed to use `urn:example:`
   As IRI components, URN `urn:nid:nss` has no authority (hostname) and an IRI 
path of "nid:nss". If it includes a `/` the base resolution rules should 
respect the path component.
   
   This PR does not make `jena-iri3986` active. The default is `jena-iri`.
   
   For experimentation - activate with one of:
   1. Set environment variable `JENA_IRIPROVIDER=IRI3986` (the jena-iri prodice 
is called `IRI0`).
   2. Set system property when start the JVM `-Djena.iriprovider=IRI8986`, or 
set in code and call `SystemIRIx.reset()` (any existing `IRIx` are not 
affected).
   
   Command line:
   
   ```
   env JENA_IRIPROVIDER=IRI3986 riot  MyIterestingData.ttl`
   ```
   ----
   
    - [x] Tests are included.
    - [x] Javadoc documentation
    - [x]  Commits have been squashed to remove intermediate development commit 
messages.
    - [x] Key commit messages start with the issue number (GH-xxxx)
   
   By submitting this pull request, I acknowledge that I am making a 
contribution to the Apache Software Foundation under the terms and conditions 
of the [Contributor's 
Agreement](https://www.apache.org/licenses/contributor-agreements.html).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org
For additional commands, e-mail: pr-h...@jena.apache.org

Reply via email to