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

Already on GitHub? Sign in to your account

Compatibily with rdf 0.3.4.1 #42

Closed
abrisse opened this Issue Oct 4, 2011 · 2 comments

Comments

Projects
None yet
2 participants

abrisse commented Oct 4, 2011

I have just updated to rdf 0.3.4.1 and observed that integer properties in Spira classes (defined with property :prop, :type => XSD.int) are not cast anymore to int when read but are simple string.

On the other hand, the rdf triples are correctly written (ex : "4"^^http://www.w3.org/2001/XMLSchema#int")

abrisse commented Oct 4, 2011

FYI, adding a cast via to_i in Spira::Types::Integer fixed the problem.

See https://gist.github.com/1261681

Owner

bendiken commented Aug 27, 2014

This project has moved to ruby-rdf/spira. If this issue is still relevant, please resubmit it over there.

@bendiken bendiken closed this Aug 27, 2014

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