MARC21slim2MADS.xsl error processing 755 source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.6 |
Won't Fix
|
Undecided
|
Unassigned | ||
3.8 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
EG Version: 3.0
The MARC21slim2MADS.xsl definition seems to have a bug that doesn't allow 755 field data to be processed when a source is specified.
The error is "runtime error: file ./MARC21slim2MA
xsl:attribute: Cannot add attributes to an element if children have been already added to the element."
See the discussion on the listserv at:
https:/
It looks like the issue may be that the setAuthority template is being called before the genre template, and that the genre template also calls the setAuthority template.
Removing the setAuthority template call from the 755 tag processing section seems to fix the issue.
If this is the issue then it needs to be fixed locally in Evergreen by updating the MARC21slim2MADS.xsl file, along with the copy that resides in the database.
It should also be reported upstream to the MODS listserve.
Using MADS to process authorities was introduced in version 3.0, so it may need to be backported that far.. although it isn't a security issue, so that may not be allowed. This can cause a roadblock when sites upgrade by causing the authority reingest in the 3.0 upgrade scripts to fail.
Linda Jansova provided an example of an authority that was hitting the error in her initial email about the problem.
Josh
Changed in evergreen: | |
assignee: | nobody → Josh Stompro (u-launchpad-stompro-org) |
status: | New → In Progress |
tags: | added: authority |
Changed in evergreen: | |
assignee: | nobody → Jane Sandberg (sandbej) |
Changed in evergreen: | |
milestone: | none → 3.3.4 |
Changed in evergreen: | |
milestone: | 3.3.4 → 3.3.5 |
Changed in evergreen: | |
milestone: | 3.3.5 → 3.4.2 |
Changed in evergreen: | |
milestone: | 3.4.2 → 3.4.3 |
Changed in evergreen: | |
milestone: | 3.4.3 → 3.4.4 |
Changed in evergreen: | |
milestone: | 3.4.4 → 3.5.1 |
Changed in evergreen: | |
milestone: | 3.5.1 → 3.5.2 |
Changed in evergreen: | |
milestone: | 3.5.2 → 3.6.1 |
Changed in evergreen: | |
milestone: | 3.6.1 → 3.6.2 |
Changed in evergreen: | |
milestone: | 3.6.2 → 3.6.3 |
Changed in evergreen: | |
milestone: | 3.6.3 → 3.6.4 |
Changed in evergreen: | |
milestone: | 3.6.4 → 3.7.2 |
tags: |
added: cat-authority removed: authority |
no longer affects: | evergreen/3.1 |
no longer affects: | evergreen/3.2 |
no longer affects: | evergreen/3.3 |
no longer affects: | evergreen/3.4 |
no longer affects: | evergreen/3.5 |
Changed in evergreen: | |
milestone: | 3.7.2 → 3.7.3 |
Changed in evergreen: | |
assignee: | nobody → Jane Sandberg (sandbergja) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
The official file from the LC has already been updated accordingly:
-------- Forwarded Message --------
Subject: Re: [MODS] MARCXML to MADS XSLT - 2.15 revision
Date: Tue, 13 Nov 2018 21:49:04 +0000
From: Meehleib, Tracy <email address hidden>
Reply-To: Metadata Object Description Schema List <email address hidden>
To: <email address hidden>
Hi Linda,
The MARCXML to MADS XSLT has been updated and uploaded. Please let me know if you have any other issues with it. Apologies for the slow turnaround--we had server/network issues here at LC last week.
< http:// www.loc. gov/standards/ marcxml/ xslt/MARC21slim 2MADS.xsl>
Best, Tracy
Tracy Meehleib
Network Development and MARC Standards Office
Library of Congress
101 Independence Ave SE
Washington, DC 20540-4402
+1 202 707 0121 (voice)
+1 202 707 0115 (fax)
<email address hidden>