Skip to content

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.

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

3 participants