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
Suggestion of renaming the specification elements, and make it more clear #25
Comments
Hi Peter! These are all great suggestions. I'm a fan of making things more clear. Let's do it. I also love the concept of I'm thinking a bit about the quotation marks. I thought I omitted them for a good reason. But this reason does not come to my mind anymore. I would suggest that I alter the specification in a dev repo, so that we can discuss the changes. I you have any other suggestions or ideas let me know. |
@pkiraly you specified
Does MARC21 allow alphaupper chars for subfield codes? |
When I learn the specification and work on the implementation I had several conclusions I would like to share with you.
Comments on existing features:
Here is my formalized suggestion for renaming the specification
Besides that the relationship between the "path" and the "condition" is not clear for me. There can be two interpretations relating to the conditions, and for both there are valid use cases:
Here the situation is clear:
008
andLDR
are two different fields, here we should follow the first interpretation.Suppose we have two 880 fields. Should we take both if the condition is true either of them, or we should take that 880 for which the condition is true? Same situation for 020 (which is repeatable field).
I would like to see a constraints in which the context is defined explicitly. We can use the following notation for the leftHandSide (or path) part:
self
or.
means the current context020$c{.="something"}
- get 020$c if it's value is "something"parent
or..
means the parent020$c{..?$a}
- get 020$c if the same 020 field has subfield $a020$c{020$a}
- get 020$c if there is 020$a anywhere in the recordI admit, "make it more clear" is a very subjective statement, as we don't have absolute scale for semantic clearness. So this comment is more of a discussion opening one, than a final suggestion.
The text was updated successfully, but these errors were encountered: