Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reader should validate #52

Open
jcoyne opened this issue Aug 9, 2015 · 0 comments
Open

Reader should validate #52

jcoyne opened this issue Aug 9, 2015 · 0 comments

Comments

@jcoyne
Copy link
Member

jcoyne commented Aug 9, 2015

https://github.com/projecthydra/ldp/blob/master/lib/ldp/resource/rdf_source.rb#L57

We're seeing errors like this:

ERROR [line: 42] undefined prefix "ns002"
ERROR [line: 43] undefined prefix "ns002"

Which are resulting in data loss (mostly silently). If we validate, this would instead raise an error, which would be more noticeable.

Validate option is documented here: https://github.com/ruby-rdf/rdf-turtle/blob/316ec78d048362d26a565845a1a6f9e2bf899024/lib/rdf/turtle/reader.rb#L246

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

No branches or pull requests

1 participant