-
Notifications
You must be signed in to change notification settings - Fork 15
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
XMP: Import of PDF with XMP data does not show XMP #338
Comments
I sent it through the validator - and it is OK: OK, I See. Can JabRef at the XMP export remove
and
? The result is now:
So, it basically looks great, but the month should be displayed as |
Is it necessary to remove the duplicated begin-tags? If I write the xmp data with JabRef, there is no duplicated entries. Otherwise I have to modify the InputStream before the dom xmp parsing happens, because I have no control over the org.apache.xmpbox.xml.DomXmpParser.DomXmpParser. A workaround would be to capture the exception and return a empty bib entry with a comment, that the xmp is not valid or another error message? I will check the month problem! |
Do we need this XML processing instructions at export? If we don't export
them, the latex package xmpincl can be used without modifications
Johannes Manner <notifications@github.com> schrieb am Mi., 18. Apr. 2018,
12:13:
… Is it necessary to remove the duplicated begin-tags?
If I write the xmp data with JabRef, there is no duplicated entries.
Otherwise I have to modify the InputStream before the dom xmp parsing
happens, because I have no control over the
org.apache.xmpbox.xml.DomXmpParser.DomXmpParser.
A workaround would be to capture the exception and return a empty bib
entry with a comment, that the xmp is not valid or another error message?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#338 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABTafiQ0woETydzFZmWiq_b9MZwYvn5Gks5tpxHWgaJpZM4TSCXn>
.
|
Okay, now I understand the problem. The export xmp should not contain the begin-tag, as mentioned in the xmpincl package. I reproduced your problem now. Normally, we don't need this begin-xml-processing instruction! |
Fixed by JabRef#3964 |
Test PDF: https://github.com/JabRef/jabref/blob/feature/xmp-provement/src/test/resources/pdfs/KoppAZ-MADR-ZEUS-2018/KoppAZ-MADR-ZEUS-2018.pdf
Drag'n'drop on Maintable results in following dialog:
In case XMP data is found, it reads as follows:
The text was updated successfully, but these errors were encountered: