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 <[email protected]>
Date: 2017-03-22T17:07:08Z
JENA-1306: Canonical Literals. Less use of ParserProfile.
commit 2429ebfad510f2c79aeb706228a9350b8de7ea70
Author: Andy Seaborne <[email protected]>
Date: 2017-04-02T14:30:45Z
Reformat
commit 59ec4f3ca8a0505290a2d5670583739cc83931a0
Author: Andy Seaborne <[email protected]>
Date: 2017-04-02T14:31:14Z
Use MakerRDF, not ParserPRofle, for node creation.
commit b595d4f870422440baef524c5fcafa7337b9b965
Author: Andy Seaborne <[email protected]>
Date: 2017-04-02T14:31:49Z
Don't send implicit base to a stream.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---