relaton / loc_mods

LOC MODS in Ruby
0 stars 0 forks source link

Round trip all records in spec/fixtures #7

Open ronaldtse opened 1 month ago

ronaldtse commented 1 month ago

Pending:

There is also an issue with a missing xmlns at the root <modsCollection> when you round-trip a file.

ronaldtse commented 1 month ago

There are a number of files that are currently skipped due to the serialization order being wrong, however, changing the order of those elements will cause more failures since the order in the test dataset is inconsistent.

I also don't know how to ignore element order comparison when it happens to be insignificant.

https://github.com/relaton/loc_mods/blob/110e14ea92eb4509bcd3badf01a78a5564c735b1/spec/loc_mods/collection_spec.rb#L12-L62