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

Write valid leader without counting #527 #547

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TobiasNx
Copy link
Contributor

@TobiasNx TobiasNx commented Jun 26, 2024

Instead of just appending the incoming leader elements by encode-marcmxl, this adds the static values for Pos: 00-04, 10-16, 20-23.

By using 0as default value for Pos: 00-04 and 12-16.

#527 (comment)

Instead of just appending the incoming leader elements, this adds the static values for Pos: 00-04, 10-16, 20-23.

By using `0`as default value for Pos: 00-04 and 12-16.

#527 (comment)
@blackwinter
Copy link
Member

What's the point of doing the "easy" solution now that we already have the "hard" solution?

@TobiasNx
Copy link
Contributor Author

The leader is always valid?

Copy link
Member

@blackwinter blackwinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I'm not too excited about this, but in the end I don't really care.

It should be tied to ensureCorrectMarc21Xml="false", though.

Checkstyle violations should be fixed, tests should be added/fixed.

@blackwinter blackwinter assigned TobiasNx and unassigned blackwinter Jun 26, 2024
@TobiasNx
Copy link
Contributor Author

I will put this on hold, the failing test hints that it is not as easy: issue336_createRecordWithTopLevelLeader_defaultMarc21Xml

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.

2 participants