lcnetdev / marc2bibframe2

Convert MARC records to BIBFRAME2 RDF
http://www.loc.gov/bibframe/
Creative Commons Zero v1.0 Universal
89 stars 36 forks source link

Processing error in v2.8 #253

Open kouralex opened 2 days ago

kouralex commented 2 days ago

When testing the new v2.8 version, I encountered an XPath error whilst running the main marc2bibframe.xsl for one our MARCXML file:
000900729.txt

Short stack trace:

Lookup variable 'pRelated880s'
XPath error : Invalid type
xsltIf: test evaluate to -1

Additional info: the file can be converted using v2.7.

kefo commented 1 day ago

What XSLT processor are you using?

kefo commented 1 day ago

Also, can you provide the actual command and any parameters. I have been unable to reproduce this with the sample record (thank you, btw!) with saxon or xsltproc.

kefo commented 1 day ago

OK. I dug deeper and I think I saw the issue (in xsltproc) and it has been addressed. Can you grab this branch and give it a quick test, please: https://github.com/lcnetdev/marc2bibframe2/tree/v2.8.1-dev

kouralex commented 16 hours ago

Sorry for not providing enough information. Yes, I was using xsltproc. I just tested with the new branch and everything works now flawlessly, thank you!