GitHub user stain opened a pull request:

    https://github.com/apache/commons-rdf/pull/32

    COMMONSRDF-55: Handle Jena's urn:x-arq:DefaultGraph and friends

    This fixes 
[COMMONSRDF-55](https://issues.apache.org/jira/browse/COMMONSRDF-55) by adding 
special testing of Jena's `urn:x-arq:DefaultGraph` and friends when creating a 
Quad.
    
    It also fixes a NullPointerException as previously we wrongly  did 
`Quad.create(null, s,p,o)` with Jena, but `null` is not a valid graph name - 
`Quad.defaultGraphIRI` should be used instead.
    
    Note that I did not hard-code `urn:x-arq:DefaultGraph` but use 
`IRI.equals()` against `Quad.defaultGraphIRI` and 
`Quad.defaultGraphNodeGenerated`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/commons-rdf COMMONSRDF-55

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-rdf/pull/32.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #32
    
----
commit bb264738aa0e3c3a8e9ae8bba0d7109cfb59adaa
Author: Stian Soiland-Reyes <st...@apache.org>
Date:   2017-01-27T17:26:59Z

    COMMONSRDF-55: Handle Jena's urn:x-arq:DefaultGraph and friends

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to