- From: Gregg Kellogg <gregg@kellogg-assoc.com>
- Date: Tue, 27 Mar 2012 11:18:15 -0400
- To: Peter Williams <pezra@barelyenough.org>
- CC: "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
I'm not aware of any; a streaming serializer would be useful, however. I would certainly accept a patch to rdf-rdfxml which provided a streaming option. I've faced a similar issue with the Turtle serializer, which also tries to output optimal Turtle, which can be quite expensive. In some cases, creating a custom serializer for the specific document you're trying to produce is best, as I've done with both Turtle and JSON-LD for the RDFa Test Suite. If you do it as a separate gem, I would probably try to use it if an option is given to the RDFXML writer, and the gem was available. The same would be true for other serialization types. Gregg On Mar 27, 2012, at 7:53 AM, Peter Williams wrote: > Is there a pure ruby streaming RDF/XML serializer for RDF.rb? The > RDFXML plugin does a great deal of optimization/prettification of the > output which is really nice for small documents but is turning out to > be a tad slow for my use case. > > If such a serializer does not exist i am considering implementing one. > If i go that route should it be a plugin of its very own, or would it > be better to make it an additional feature of the current RDF/XML > plugin? > > Peter > barelyenough.org >
Received on Tuesday, 27 March 2012 15:21:57 UTC