EPUBCheck OPF-016: full-path olmadan rootfile
Güncellendi:
EPUBCheck OPF-016 bir hata mesajıdır: “The element "rootfile" is missing its required attribute "full-path".” META-INF/container.xml içindeki bir rootfile öğesinin full-path niteliği yok. Bu nitelik, okuma uygulamalarının paket belgesinin nerede olduğunu bilmesini sağlayan tek şeydir, bu nedenle kitap bunun olmadan açılamaz.
Resmi mesaj
The element "rootfile" is missing its required attribute "full-path".
- Varsayılan ciddiyet
- Hata. EPUB, spesifikasyonun bir kuralını ihlal ediyor ve geçersizdir. Depolar ve Kindle'ye gönder, onu reddedebilir ve EPUBCheck ile durum 1 ile çıkış yapar.
- EPUBCheck sürümü
- 5.4.0
Tipik nedenler
- Özelliği eksik olan elle yazılmış bir container.xml.
- Öznitelik adı yanlış yazıldı, örneğin fullpath veya full_path.
- Asla tamamlanmamış bir şablon container.xml.
Nasıl düzeltilir
- META-INF/container.xml dosyasını açın.
- Kütüphanenin kökünden paket belgesinin yolu ile tam yolu ekleyin, örneğin
<rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>. - Yolun gerçek dosya adı ve durumuyla eşleştiğini kontrol edin, ardından EPUB'yi yeniden oluşturun.
Ne zaman bu değil
Eğer full-path mevcut ama boşsa, EPUBCheck OPF-017'i rapor eder; eğer eksik bir dosyaya işaret ediyorsa, OPF-002'dir.
Burada kullanılan terimler
Diğer OPF mesajları
OPF-015The property "…" should not be declared in the OPF file.OPF-017The attribute "full-path" on element "rootfile" must not be empty.OPF-014The property "…" should be declared in the OPF file.OPF-018The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.OPF-018bThe "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found; please check scripted content to make sure the property is legit.OPF-013Resource "…" is declared with MIME type "…" in content, but has MIME type "…" in the package document.
Kaynaklar
Mesaj metni ve ciddiyeti EPUBCheck 5.4.0 (W3C, BSD-3-Clause) tarafından. Açıklama EpubCC tarafından.