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

XML transform fails - invalid character #3

Open
stvmlbrn opened this issue Nov 11, 2016 · 0 comments
Open

XML transform fails - invalid character #3

stvmlbrn opened this issue Nov 11, 2016 · 0 comments

Comments

@stvmlbrn
Copy link

stvmlbrn commented Nov 11, 2016

Receiving the following error message when transforming the marc record to XML:

Invalid character (in string: AV2 fiction readalong ; at index 2

I figure its an encoding issue. I forked this repo to troubleshoot with my own copy. I upgraded the version of xmlbuilder to 8.2.2 and added the allowSurrogateChars: true parameter to the .create() method in the marcxml_transformer.js file. No luck.

Worth noting that other transformers work fine.

See attached marc record as an example.

test.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