sshaw / ddex

DDEX metadata serialization for Ruby
https://metadatagui.com
52 stars 41 forks source link

Implementing DSR #4

Open danicuki opened 9 years ago

danicuki commented 9 years ago

Hi @sshaw - Any idea of when DSR will be implemented? I could help with it, if you give me the path

sshaw commented 9 years ago

Hi, implementing it should be relatively easy depending on how jaxb2ruby performs with the DSR schema and how much tweaking the fixture generating config requires. I see you've already got a good start, though I see an issue or two. I'll comment inline on your commit.

I've added a contributing document that outlines what's needed. Let me know how it looks.

A couple notes:

  1. The shared examples for metadata serialization should be put into a place where it can be reused for DSR.
  2. We'll also need to figure out how to auto detect the spec so DDEX.read and DDEX.write can delegate to the proper spec's method
sshaw commented 9 years ago

Any luck with the DSR implementation @danicuki?

danicuki commented 9 years ago

Hi @sshaw,

I didn’t have time to work on it. I needed a very specific usage of DDEX, so I decided to use Nokogiri and SAX to parse the xml directly and grab the fields I needed. I hope I have some time in future to finish this contribution

Best

D

On Thu, May 21, 2015 at 1:55 AM, Skye Shaw notifications@github.com wrote:

Any luck with the DSR implementation @danicuki?

Reply to this email directly or view it on GitHub: https://github.com/sshaw/ddex/issues/4#issuecomment-104135810