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

Compute valid top-level MARC record leader. #539

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

blackwinter
Copy link
Member

Resolves #524.

See also previous discussion in #531.

Base branch will be changed automatically once #538 is merged.

MarcXmlEncoder acts as a wrapper. It makes use of Marc21Encoder and Marc21Decoder to ensure proper MARCXML, especially regarding the leader. Also - in contrast to MarcXmlEncoder - the record ID (field 001) is mandatory.

The outer class is responsible for routing the stream into the appropriate pipe, the inner class contains the actual (previous) implementation.

Co-authored-by: Pascal Christoph <[email protected]>
@blackwinter blackwinter requested a review from dr0i June 19, 2024 13:34
@blackwinter blackwinter changed the base branch from master to 527-emitMarcXmlLeaderAsWhole June 19, 2024 13:34
@blackwinter blackwinter mentioned this pull request Jun 19, 2024
dr0i added a commit that referenced this pull request Jun 20, 2024
@blackwinter blackwinter changed the base branch from 527-emitMarcXmlLeaderAsWhole to master June 20, 2024 13:37
@blackwinter
Copy link
Member Author

blackwinter commented Jun 20, 2024

Base branch will be changed automatically once #538 is merged.

Apparently not... I'm pretty sure this used to be the case. Changed it manually now.

UPDATE: Maybe it's because I forgot to select the correct base branch when creating the pull request? I only fixed it afterwards.

@dr0i dr0i merged commit 83a02b9 into master Jun 20, 2024
1 check passed
@dr0i dr0i deleted the 524-computeValidMarcXmlLeader branch June 20, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Counted leader elements in marc when encoding to marc
2 participants