Feature #475

avatar

Ability to perform XUpdate-style partial updates of XML metadata

Added by Matt Zumwalt 338 days ago. Updated 303 days ago.

Status:Rejected Start:08/25/2009
Priority:Normal Due date:10/12/2009
Assigned to:avatarMatt Zumwalt % Done:

0%

Category:Refining ActiveFedora API Spent time: -
Target version:1.0.9 Estimated time:0.00 hours
Sponsor:

Stanford


Description

Ability to perform XUpdate-style partial updates of XML metadata.

In theory, ideally, this would be implemented as an improvement to Fedora itself, but it's more likely to be implemented in ActiveFedora.

This may require JRuby.

History

Updated by Matt Zumwalt 338 days ago

avatar
Estimate based on
  • gather stories to guide implementation - 1d
  • find and grok XUpdate or XQuery Update implementation - 1.5d
  • implement Ruby or JRuby XUpdate library - 4d
  • integrate into ActiveFedora or RubyFedora - 3d

Note: This estimate would be significantly reduced if we find an existing ruby library that supports XML updates. Contender: Zorba

Updated by Matt Zumwalt 338 days ago

avatar
  • Estimated time set to 75.00

Updated by Matt Zumwalt 338 days ago

avatar
  • Due date set to 10/12/2009

Updated by Matt Zumwalt 336 days ago

avatar
  • Target version set to 35

Updated by Matt Zumwalt 331 days ago

avatar
  • Sponsor set to Stanford

Updated by Matt Zumwalt 319 days ago

avatar

I can dream up a few ways to make this happen with Nokogiri

Probably won't actually use XUpdate at all, but will achieve the same goals.

Updated by Matt Zumwalt 303 days ago

avatar
  • Status changed from New to Rejected
  • Estimated time changed from 75.00 to 0.00

Rejecting the ticket.

It looks like this will be covered implicitly by implementing NokogifiDatastream (see #473). You should be able to use Nokogiri's API, including XPath and DOM searches to find which nodes to update, to operate on the XML however you see fit. This is pretty much as good as it gets short of modifying Fedora itself to support partial updates. It will also allow for a much greater variety of programmatic updates that would be difficult with XUpdate syntax.

Updated by Matt Zumwalt 303 days ago

avatar
  • Target version changed from 35 to 1.0.9

Also available in: Atom PDF