Bug #9606

EAC export includes empty EAC elements, will not validate

Added by Dan Gillean about 6 years ago. Updated about 6 years ago.

Status:VerifiedStart date:03/21/2016
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:EAC - Import/Export
Target version:Release 2.3.0
Google Code Legacy ID: Tested version:2.2, 2.3
Sponsored:No Requires documentation:

Description

  • Create an authority record
  • Fill in only a couple of the fields
  • Perform an EAC-XML export
  • Examine output
Resulting error
  • EAC XML includes all possible elements, even when empty
  • EAC will not validate because of this
  • Happens in UI export as well as via CLI export task

Attaching example output

Expected result
EAC XML produced does not include empty elements, and will validate.

eac_0000000449_kellett-anthony.xml Magnifier (3.74 KB) Dan Gillean, 03/21/2016 07:55 PM

History

#1 Updated by Mike Gale about 6 years ago

  • Status changed from New to Code Review
  • Assignee changed from Mike Gale to Mike Cantelon

#2 Updated by Mike Cantelon about 6 years ago

  • Status changed from Code Review to Feedback
  • Assignee changed from Mike Cantelon to Mike Gale

I had one idea, but other than that looks good!

#3 Updated by Mike Gale about 6 years ago

  • Status changed from Feedback to QA/Review
  • Assignee changed from Mike Gale to Dan Gillean

#4 Updated by Dan Gillean about 6 years ago

  • Status changed from QA/Review to Feedback
  • Assignee changed from Dan Gillean to Mike Gale

Any chance we could run this through the pretty-fier we use on the EAD export? otherwise, looks good. Note the recently filed #9755 though :/

#5 Updated by Mike Gale about 6 years ago

  • Status changed from Feedback to Code Review
  • Assignee changed from Mike Gale to Mike Cantelon

#6 Updated by Mike Gale about 6 years ago

  • Status changed from Code Review to QA/Review
  • Assignee changed from Mike Cantelon to Dan Gillean

#7 Updated by Dan Gillean about 6 years ago

  • Status changed from QA/Review to Verified

Also available in: Atom PDF