Skip to content

XML transform fails - invalid character #3

@stvmlbrn

Description

@stvmlbrn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions