-
Notifications
You must be signed in to change notification settings - Fork 34
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
MarcXmlEncoder ouputs "leader" wrongly #336
Comments
I'm expecting it like
respectively
if type is empty or Null. I've observed another effect.
results in multiple entities like
using the above morph. |
This issue seems to be threefold:
Part 1 is already solved and part 2 is covered by another issue; so I would propose to only deal with part 3 here (and update the title accordingly). |
The remaining issue (part 3 above) should be fixed by #401. Could you verify? |
Closed incidentally by #401. Reopening. |
Can you clarify? The pull request was supposed to resolve this issue. If it doesn't, it shouldn't have been merged, right? If it does, though, this issue should be closed by it. What am I not getting? |
Yes, you are right. I violated the definition-of-done by not awaiting the functional review (which should be done by the one assigned to the issue) and merging nonetheless (I saw your tests and passed this as functional review for myself, but that is not our agreed convention). |
Okay, makes sense. Thank you. |
Leader seem right now: +1 But the type-attribute refrence that @hagbeck mentioned still needs to be fixed. opened a new ticket: Also @dr0i and I were confused that there are two version of marc-xml, one with namespaces and one without. The version without seems to be more common. Both seem to be valid. We thought that an option for the output would be nice #403 |
For future reference I'll repeat it here: In order for the (MARC) XML encoder to recognize an attribute, the decoder (or the morph) has to mark it as such ( EDIT: MARC XML encoder doesn't know to handle marked literals as attributes, only simple XML encoder does (see #394). |
Updated also i.a. https://github.com/metafacture/metafacture-documentation/blob/master/flux-commands.md#handle-marcxml (which I frequently use to look up usage and also unfortunately frequently forget to update if something in metafacture-core is updated ... would be nice if we could update that More important, as you noted @blackwinter, we need the proper handling in |
Do you mean |
BTW: I still think this issue could have kept its focus on |
Re |
yes, leader is put out properly. |
See also #336. Co-authored-by: Pascal Christoph <[email protected]>
Add extension snippets for all do binds
Reported by @hagbeck, this ouput is wrong:
It's produced opening a MarcXml file, using the following flux:
with this simple '_elseNested' morph:
@hagbeck : do you know how exactly: the output should look like?
Results from #107.
The text was updated successfully, but these errors were encountered: