-
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
Writing into array with same name but with and without leading *
merges both array into one
#656
Comments
The asterisk ( |
Interestingly:
works
I am also not sure if we should fix this? |
I would consider it a bug if the wildcard becomes part of the field name just because it didn't match any preexisting field. |
That's definitely a surprise. Would have to look into it more thoroughly. |
The reason that it works in Metamorph is that it doesn't evaluate wildcards in the target field ( The only solution I can think of right now is to allow escaping of special characters in |
In my opinion this is not urgent since we enabled this: #657 |
In principal it is possible to create elements and array with leading
*
as part of the name.But if you write an array on the same level with same name but one with and one without leading
*
, the two disctinct arrays are merged:See in example in playground.
Fix:
Result:
Expected:
This came up in #589 when transforming marc data to edm, since
rdf-macro
expects*
as refrence marker.The text was updated successfully, but these errors were encountered: