Skip to content

Correct a bug when reading ntriples data that prevent to have values with "VERSION"#455

Open
decdocuteam wants to merge 1 commit intoruby-rdf:developfrom
docuteam:reader-issue-with-VERSION
Open

Correct a bug when reading ntriples data that prevent to have values with "VERSION"#455
decdocuteam wants to merge 1 commit intoruby-rdf:developfrom
docuteam:reader-issue-with-VERSION

Conversation

@decdocuteam
Copy link
Copy Markdown

Currently RDF::NTriples::Reader looks for RDF version information using the regexp /VERSION/, the problem is that it mess the parsing of triples containing the word VERSION like for example: "test_VERSION_test".

This PR correct the problem by looking for VERSION at the start of a line and not anywhere on the line.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 26, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown

@mkllnk mkllnk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

I'm just another user who's also looking forward to this project finding a new maintainer. I don't have any permissions here but I think that your contribution is great.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 91.802%. remained the same
when pulling 5aec3cf on docuteam:reader-issue-with-VERSION
into d6dd27d on ruby-rdf:develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants