Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion of tag 048 #119

Closed
jodiw01 opened this issue Mar 18, 2019 · 0 comments · Fixed by #123
Closed

Conversion of tag 048 #119

jodiw01 opened this issue Mar 18, 2019 · 0 comments · Fixed by #123
Assignees
Labels

Comments

@jodiw01
Copy link
Contributor

jodiw01 commented Mar 18, 2019

Data in MARC tag 048 that isn't specifically listed in the spec should be ignored -- instruction was added to ConvSpec-048-Codes-v1.4.

Recent example that created an empty value:

mo
ma

Error log:
In the 010-048 conversion, if the 048 does not have a correct value found in the instrumentCode table, it tries to create an element name “”. Can you have Wayne default to something
<xsl:template match="marc:datafield[@tag='048']" mode="work">
yaz-record-conv /marklogic/id/marc2bibframe2/record-conv.vlp3.xml split_0000015.xml > split_0000015.rdf

runtime error: file /marklogic/id/marc2bibframe2/xsl/ConvSpec-010-048.xsl line 781 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file /marklogic/id/marc2bibframe2/xsl/ConvSpec-010-048.xsl line 782 element element
xsl:element: The effective name '' is not a valid QName.
runtime error: file /marklogic/id/marc2bibframe2/xsl/ConvSpec-010-048.xsl line 781 element element

@kirkhess kirkhess added the Bugs label Apr 26, 2019
wafschneider added a commit that referenced this issue May 8, 2019
Codes in 048 $a/$b that aren't accounted for in the conversion specs should not attempt to create BIBFRAME data. Fixes #119.
wafschneider added a commit that referenced this issue May 8, 2019
Codes in 048 $a/$b that aren't accounted for in the conversion specs should not attempt to create BIBFRAME data. Fixes #119.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants