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

Getting warnings when importing records. #19

Open
sedj601 opened this issue May 13, 2022 · 0 comments
Open

Getting warnings when importing records. #19

sedj601 opened this issue May 13, 2022 · 0 comments

Comments

@sedj601
Copy link

sedj601 commented May 13, 2022

So, my catalogers use a program called MarcEdit to edit their records. I use your API because it allows me to edit bib records, create holding records, and then load them to the database in batch. Today, I noticed that your API gave me a warning where I believed there should not have been one given. So, I did some digging. I used NotePad++ to see if the leader first five bytes matched NotePad++ length of the file. It matched. See Notepad++.png. I then used MarcEdit to see if it would give a warning. It did not. See MarcEdit.png. I figured I was doing something wrong while reading the file in, so I downloaded your CSharp_MARC application. I imported the record into there and got the same warning. It appears that the leader length and the way your API counts the length of some special characters are not equal. It leads to the indicators being left out in the field that follows. See CSharpmarc.png.

Test Record: G108April2022CRDPRECORDS_test - Copy - Copy.mrc.txt
PrettyPrint of Test Record: G108April2022CRDPRECORDS_test - Copy - Copy.mrk.txt

Notepad++
CSharpMarc
MarcEdit
G108April2022CRDPRECORDS_test - Copy - Copy.mrc.txt
G108April2022CRDPRECORDS_test - Copy - Copy.mrk.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant