EPUBCheck OPF-021: kayıtlı olmayan URI şeması
Güncellendi:
EPUBCheck OPF-021 bir uyarı mesajıdır: “Use of non-registered URI scheme type in href: "…".” Bir href, http, https veya mailto dışında kayıtlı olmayan bir URI şemasını kullanıyor. Okuma uygulamaları kayıtlı olmayan bir şemanın ne yapacağını bilemeyebilir, bu nedenle bağlantı sessizce başarısız olabilir.
Resmi mesaj
Use of non-registered URI scheme type in href: "%1$s".
- Varsayılan ciddiyet
- Uyarı. EPUB hala geçerli, ancak bazı okuma uygulamalarında sorun çıkaracak bir şey muhtemelen var. EPUBCheck, --failonwarnings geçmezseniz 0 ile çıkış yapar.
- EPUBCheck sürümü
- 5.4.0
%1$s, %2$s… dosyadan, değer veya öğeden bulunan EPUBCheck ile doldurulmuştur.
Tipik nedenler
- Bir şemada, htp:// veya http// gibi bir yazım hatası.
- Sadece belirli bir okuyucuda çalışacak şekilde tasarlanmış uygulamaya özel bir şema.
- Beklenen bir URL yerine yazılmış bir yerel dosya yolu (C:\…).
Nasıl düzeltilir
- Href EPUBCheck isimlerini bul.
- Hatası olan bir şemayı standart bir şemaya (https, http, mailto…) düzeltin.
- Eğer bağlantı sadece bir uygulamada veya bir bilgisayarda çalışıyorsa, onu kaldırın veya bir web adresiyle değiştirin.
Ne zaman bu değil
Eğer bağlantı EPUB içindeki var olmayan bir dosyaya işaret ediyorsa, bu RSC-007.
Burada kullanılan terimler
Diğer OPF mesajları
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-017The attribute "full-path" on element "rootfile" must not be empty.OPF-025Property value list "…" is not allowed, only one value must be specified.OPF-016The element "rootfile" is missing its required attribute "full-path".OPF-026Found malformed property value: "…".
Kaynaklar
- EPUB 3.3, §5.3.2 The href attribute · okumak
Mesaj metni ve ciddiyeti EPUBCheck 5.4.0 (W3C, BSD-3-Clause) tarafından. Açıklama EpubCC tarafından.