#1 ✓resolved
Fumihiro Kato

patches for Ruby 1.9

Reported by Fumihiro Kato | February 21st, 2010 @ 03:53 PM

This library does not work with Ruby 1.9 because Ruby 1.9 treats a unicode escape strictly
and does not need require 'parsedate'. The attached patches fix these two issues and work
with both 1.8.7 and 1.9.1. Could you check and apply them?

Thanks.

Comments and changes to this ticket

  • Gregg Kellogg

    Gregg Kellogg February 21st, 2010 @ 07:28 PM

    • State changed from “new” to “open”

    I've updated the gem for 1.9.1 and fixed a number of issues in Unicode generation already. I've also made some changes to support 1.8.6.

    I'm trying to get some other comprehensive changes to Notation-3/Turtle parsing complete before performing the update. The next version will be 0.5.0, which I should have up shortly.

    The 'parsedate' issue you mentioned is only one of the isues: \U00nnnnnn were not treated right either. Support for \U vs \u Unicode literal characters will be limited to version 1.9.1 and greater.

    Gregg

  • Fumihiro Kato

    Fumihiro Kato February 21st, 2010 @ 11:08 PM

    Thanks for your reply and your work. So I look forward to the next version.

  • Gregg Kellogg

    Gregg Kellogg February 22nd, 2010 @ 11:29 PM

    • State changed from “open” to “resolved”

    I just pushed out 0.5.0 with this, and many other changes. Check out the History file on GitHub for more details on the release.

  • Fumihiro Kato

    Fumihiro Kato February 23rd, 2010 @ 02:10 PM

    Many thanks. The latest version works with both Ruby 1.8.7 and 1.9.1 now.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RdfContext is an RDF library for Ruby.

== FEATURES:
RdfContext parses RDF/XML, RDFa and N3-rdf into a Graph object. It also serializes RDF/XML and N-Triples from the Graph.

* Fully compliant RDF/XML parser.
* Fully compliant XHTML/RDFa 1.0 parser.
* N3-rdf parser
* N-Triples and RDF/XML serializer
* RDFa tests use SPARQL for most tests due to Rasqal limitations. Other tests compare directly against N-triples.
* Graph serializes into RDF/XML and N-Triples.
* ConjunctiveGraph, named Graphs and contextual storage modules.

Install with 'gem install rdf_context'

Shared Ticket Bins

People watching this ticket

Attachments

Pages