-
Notifications
You must be signed in to change notification settings - Fork 26
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
ind not defined #10
Comments
Could you attach a sample file to this github issue? |
this is the record with the error |
Apparently, you encountered this error by parsing a MARCXML file. Do you have an xml file containing a record with this empty indicator? For me, it could be considered as a non-error, since it means that you input xml file is malformed. |
I'm parsing a BIG ISO file. Lic. Horacio Degiorgi On Wed, Oct 21, 2015 at 8:42 AM, Frédéric Demians notifications@github.com
|
during some tests with mrc files I found a bug when there is no indicators (may be the files are corrupted :))
my change in line 454 or marcjs.js to evaluate the ind var ( in my case is undefined)
var ind = element[1];
if (ind != undefined ){
attr.ind1 = ind.substr(0,1);
attr.ind2 = ind.substr(1);
}
The text was updated successfully, but these errors were encountered: