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
- META-INF/container.xml dosyasını açın.
- Paket belgesinin kök arşiv yolunu yazın, örneğin full-path="OEBPS/content.opf".
- 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-016The element "rootfile" is missing its required attribute "full-path".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-015The property "…" should not be declared in the OPF file.OPF-014The property "…" should be declared in the OPF file.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.