-
Notifications
You must be signed in to change notification settings - Fork 116
Description
According to the parser specification:
The primary
identifieris marked as the unique identifier via thepackageelementunique-identifierattribute. It’sidmust therefore match the value of thisunique-identifierattribute.
But it looks like our parser is taking the last dc:identifier element found, which in this sample is 2016-11-05. It should be urn:uuid:65784686-a461-41a7-8c5c-5cd26d7b7b8d:
<?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="uuid_id">
<metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title>Germaine</dc:title>
<dc:identifier opf:scheme="filename">about_edmond_-_germaine</dc:identifier>
<dc:identifier opf:scheme="ISBN">978-2-8247-1198-0</dc:identifier>
<dc:identifier id="BookId" opf:scheme="URI">http://www.bibebook.com/search/978-2-8247-1198-0</dc:identifier>
<dc:identifier opf:scheme="SOURCE">BEQ</dc:identifier>
<dc:identifier opf:scheme="NEXT"></dc:identifier>
<dc:identifier id="uuid_id" opf:scheme="UUID">urn:uuid:65784686-a461-41a7-8c5c-5cd26d7b7b8d</dc:identifier>
<dc:identifier opf:scheme="version">2016-11-05</dc:identifier>
</metadata>
</package>Metadata
Metadata
Assignees
Labels
No labels