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

EPUBCheck OPF-017: boş rootfile full-path

Güncellendi:

EPUBCheck OPF-017 bir hata mesajıdır: “The attribute "full-path" on element "rootfile" must not be empty.” META-INF/container.xml içindeki bir rootfile öğesinin boş bir full-path niteliği var. Bu nitelik, paket belgesinin yolunu tutmalıdır; boş bir değer, okuma uygulamalarını açacak hiçbir şey bırakmaz.

Resmi mesaj

The attribute "full-path" on element "rootfile" must not be empty.

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

  • Asla doldurulmamış bir şablon container.xml yolu.
  • Boş çıkan bir değişkenden yolu yazan bir yapım betiği.
  • Dosyayı düzenlerken yanlışlıkla silinen bir yol.

Nasıl düzeltilir

  1. META-INF/container.xml dosyasını açın.
  2. Paket belgesinin kök arşiv yolunu yazın, örneğin full-path="OEBPS/content.opf".
  3. Yolu, gerçekten dosyayla harf harf karşılaştırın, ardından EPUB'yi yeniden oluşturun.

Ne zaman bu değil

Özellik tamamen eksikse, o OPF-016'dır.

Burada kullanılan terimler

Diğer OPF mesajları

  • OPF-016 The element "rootfile" is missing its required attribute "full-path".
  • 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-015 The property "…" should not be declared in the OPF file.
  • OPF-014 The property "…" should be declared in the OPF file.
  • 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-017 ne anlama geliyor?

EPUBCheck OPF-017 bir hata mesajıdır: “The attribute "full-path" on element "rootfile" must not be empty.” META-INF/container.xml içindeki bir rootfile öğesinin boş bir full-path niteliği var. Bu nitelik, paket belgesinin yolunu tutmalıdır; boş bir değer, okuma uygulamalarını açacak hiçbir şey bırakmaz.

OPF-017 bir hata mı?

OPF-017 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