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

RDF::ReaderError with 7.0.1 #387

Closed
acurley opened this issue Apr 9, 2014 · 1 comment · Fixed by #388
Closed

RDF::ReaderError with 7.0.1 #387

acurley opened this issue Apr 9, 2014 · 1 comment · Fixed by #388

Comments

@acurley
Copy link
Contributor

acurley commented Apr 9, 2014

As noted in #286 the RDF reader chokes on certain character combinations if not encoded in UTF-8. I'm still having issues with the MS Word "curly" single quote mark.

Any new metadata field that is created with that type of quote mark works fine and as expected. However, any legacy data input under a previous version of ActiveFedora (in this case 7.0.0.rc2) breaks the application and returns:

RDF::ReaderError: ERROR [line 1] Expected object (found: ...

Any idea how to mitigate this RDF::Reader problem with existing data?

N.B. This problem was originally references here: ruby-rdf/rdf#142

@tpendragon
Copy link
Contributor

Thanks for catching this! It looks like https://github.com/projecthydra/active_fedora/blob/master/lib/active_fedora/rdf/rdf_datastream.rb#L72 is the culprit. I'll spin up a patch for this tomorrow morning.

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 a pull request may close this issue.

2 participants