You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/02 14:46:41 UTC

[jira] [Commented] (JENA-1306) Provide detailed setup for RIOT parsing with a parser builder.

    [ https://issues.apache.org/jira/browse/JENA-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15952711#comment-15952711 ] 

ASF GitHub Bot commented on JENA-1306:
--------------------------------------

GitHub user afs opened a pull request:

    https://github.com/apache/jena/pull/231

    RDFParser refinements.

    This PR:
    
    - adds the ability to put in a "canonicalise literals" step into the parsing process (more for JENA-1306).
    - adds `RDFParser.source` operations to create a parser builder and set the source in one step (reduces the need to see RDFParserBuilder for common cases)
    - Removes explicit ReaderRIOTFactory.create(Language) which does not fit well with `RDFParser`, leaving a default method in the interface.


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

    $ git pull https://github.com/afs/jena parser3

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

    https://github.com/apache/jena/pull/231.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 #231
    
----
commit ecf579ae056abfd51117ea79883281d4545d52d6
Author: Andy Seaborne <an...@apache.org>
Date:   2017-03-22T17:07:08Z

    JENA-1306: Canonical Literals. Less use of ParserProfile.

commit 2429ebfad510f2c79aeb706228a9350b8de7ea70
Author: Andy Seaborne <an...@apache.org>
Date:   2017-04-02T14:30:45Z

    Reformat

commit 59ec4f3ca8a0505290a2d5670583739cc83931a0
Author: Andy Seaborne <an...@apache.org>
Date:   2017-04-02T14:31:14Z

    Use MakerRDF, not ParserPRofle, for node creation.

commit b595d4f870422440baef524c5fcafa7337b9b965
Author: Andy Seaborne <an...@apache.org>
Date:   2017-04-02T14:31:49Z

    Don't send implicit base to a stream.

----


> Provide detailed setup for RIOT parsing with a parser builder.
> --------------------------------------------------------------
>
>                 Key: JENA-1306
>                 URL: https://issues.apache.org/jira/browse/JENA-1306
>             Project: Apache Jena
>          Issue Type: New Feature
>          Components: RIOT
>    Affects Versions: Jena 3.2.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 3.3.0
>
>
> Provide a parser builder for detailed setup of RDFParser.  
> This is a new low level interface to the parsing process. It replaces and extends the machinery hidden inside {{RDFDataMgr}} ({{process}} and {{getReader}}) and {{RDFParserRegistry.ReaderRIOTLang}}.
> It aligns with the changes to {{HttpOp}} to have a specific optional {{HttpClient}} (JENA-576 and related work) and so allows applications to control the HTTP setup without resorting to direct use of {{HttpOp}}.
> More detailed control can be exposed, including language specific and specialized needs, for example [PR#211 "preserve id of blanknodes in JSON-LD"|https://github.com/apache/jena/pull/211].
> {{RDFDataMgr}} functions involving a Context can be can be deprecated.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)