Skip to content

Conversation

@blackwinter
Copy link
Member

The XML decoder (not knowing anything about MARC) emits the leader element as a top-level literal. This is in contrast to the MARC21 decoder which wraps it in an entity.

The latter seems to be a historical artifact, originating from the removal of the splitLeader setting in Marc21Decoder (6d04d69) and the subsequent introduction of the emitLeaderAsWhole setting (76eb9fd).

Fixes #336.

…control field.

The XML decoder (not knowing anything about MARC) emits the leader element as a top-level literal. This is in contrast to the MARC21 decoder which wraps it in an entity.

The latter seems to be a historical artifact, originating from the removal of the `splitLeader` setting in `Marc21Decoder` (6d04d69) and the subsequent introduction of the `emitLeaderAsWhole` setting (76eb9fd).

Fixes #336.
@dr0i dr0i merged commit f048c33 into master Oct 4, 2021
@dr0i
Copy link
Member

dr0i commented Oct 4, 2021

Thx!
Merged into master.

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.

MarcXmlEncoder ouputs "leader" wrongly

3 participants