Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented May 23, 2018

Fix for the incompatibility of the Marc21 Decoder and Encoder.

Issue

  • A stream produced by the Marc21 Decoder is not processable by the Marc21 Encoder.

Fixes

eberhardtj added 6 commits May 23, 2018 12:48
Add test that checks, if the Marc21 Encoder produces an output that
may be processed by the Marc21 Decoder.
Verify that the current entity is a field entity before calling endDataField.
Fixes malformed test record.
Adds a test that checks, if a pass through a Marc21-Decoder-Encoder
stream alters the processed record.
…level

Places encoding level, cataloging form and multipart level in position
17, 18 and 19.
@ghost ghost changed the title Fix marc21 encoder Fix broken marc21 encoder May 24, 2018
@cboehme
Copy link
Member

cboehme commented May 25, 2018

Thanks for you pull request. You fixes relate to issues #278 and #284. I'd like to merge your fix for #278. For issue #284, however, I implemented a different fix (in 46dee86) which ensured that the system characters are written to the correct position. This avoids having to add setters for MARC specific fields to the generic ISO-2709 record implementation.

Can you please update the pull request to only contain the commits relevant for issue #278.

Thank you!

Reverts the state of the branch to changes that are only relevant to issue #278.
@cboehme cboehme closed this in 4d0df22 Dec 19, 2018
blackwinter pushed a commit that referenced this pull request Dec 13, 2024
blackwinter pushed a commit that referenced this pull request Dec 13, 2024
blackwinter pushed a commit that referenced this pull request Dec 13, 2024
blackwinter pushed a commit that referenced this pull request Dec 13, 2024
Add new fix method to set variable with element value #282
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

Successfully merging this pull request may close these issues.

1 participant