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

PICA: Parsing PICA Plain with $ in field values #164

Closed
nichtich opened this issue Sep 8, 2022 · 3 comments
Closed

PICA: Parsing PICA Plain with $ in field values #164

nichtich opened this issue Sep 8, 2022 · 3 comments

Comments

@nichtich
Copy link
Collaborator

nichtich commented Sep 8, 2022

It looks like there is a bug when parsing PICA Plain with $ in field values, but the error may be in the source data as well.

Example: http://ddb.qa-catalogue.eu/k10plus_pica/?tab=data&query=&query=*:*&filters[]=005Ax20_ss:*

K10plus PPN 129931373 contains field 005A with (in PICA Plain):

005A $00263-9254$f: L 230.00 (jährl., EU), $$ 435.00 (jährl.)

The $ in second subfield $f is escaped as $$. The subfield value is : L 230.00 (jährl., EU), $ 435.00 (jährl.)

In PICA Normalized the subfield indicator is 0x1F instead of $, so there is no escaping of $.

@pkiraly
Copy link
Owner

pkiraly commented Sep 17, 2022

I found that there are some strange fields with double dollar signs, not just the one, which contains dollar sign in the value of a subfield. Here is an example:

037I $aBraunschweig$$nGeorg-Eckert-Institut - Leibniz-Institut für internationale Schulbuchforschung

(http://ddb.qa-catalogue.eu/k10plus_pica/?tab=data&query=id%3A1734305185)

According to this parsing rule it is interpreted as Braunschweig$nGeorg-Eckert-Institut - Leibniz-Institut für internationale Schulbuchforschung

@nichtich
Copy link
Collaborator Author

The parsing rule and its result for the example is right, but the record content seems wrong.

@nichtich
Copy link
Collaborator Author

nichtich commented Oct 7, 2022

This seems to be fixed so this issue can be closed, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants