Am 30.05.2017 um 17:35 schrieb Komiya Takeshi: > Hi, > > Sorry, I can't read German. But I guess it says the value of > `<dic:identifier>` is invalid. > It seems you are not specifying `epub_identifier`. The content.opf > says it is "unknown" (the default value of epub_identifier). > Usually ISBN or URLs are used to the value. > > Please check it.
After contemplating over http://www.idpf.org/epub/30/spec/epub30-publications.html#sec-opf-dcidentifier I finally found a solution that validates with epubcheck The value of epub_identifier did not cause the errors but the value of epub_id. epub_id is the internal reference for the dc:identifier metadata. The example on the idpf site shows it: <package … unique-identifier="pub-id"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:identifier id="pub-id">urn:uuid:A1B0D67E-2E81-4DF5-9E67-A64CBE366809</dc:identifier> … </metadata> </package> So here the string "pub-id" is the unique-identifier of the metadata that gives the identifier "urn:uuid..." I used "pub-id" and "website" as unique-identifier, both were validated. I did not find a list of good XML names for unique-identifier. For now I'll stick to pub-id. The default of Sphinx is an empty string which does not validate. Maybe we should consider to default to pub-id? Ciao! juh -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
