İçeriğe atla
EPUBCheck · Paket belgesi (OPF)

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

  1. META-INF/container.xml dosyasını açın.
  2. 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"/>.
  3. 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-015 The property "…" should not be declared in the OPF file.
  • OPF-017 The attribute "full-path" on element "rootfile" must not be empty.
  • OPF-014 The property "…" should be declared in the OPF file.
  • OPF-018 The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.
  • OPF-018b The "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-013 Resource "…" 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.

FAQ

EPUBCheck OPF-016 ne anlama geliyor?

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.

OPF-016 bir hata mı?

OPF-016 varsayılan olarak hata olarak rapor edilir. EPUB, spesifikasyon kuralını ihlal eder ve geçersizdir. Depolar ve Kindle'ye gönderimler bunu reddedebilir ve EPUBCheck durum 1 ile çıkar.

PDF ile EPUB araçları

Her araç aynı motoru kullanır. Günde 3 kitap ücretsizdir.

Tüm araçları gör