ePubChecker에서 사용자 정의 네임 스페이스를 사용하는 epub에서 오류가 발생합니다. ePub 3.0에서 맞춤 네임 스페이스를 사용하고 있습니까?ePub 3.0에서 사용자 정의 xml 네임 스페이스를 사용할 수 있습니까?
예제 코드 :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/TR/xhtml11" xmlns:customns="http://example.com">
<head></head>
<body><customns:customtag></customns:customtag></body>
</html>
ERROR : 나는 소니 PRS-650을 시도했습니다
/Untitled.epub/OPS/page0.html(5,27): element "customns:customtag" not allowed here; expected the element end-tag, text or element "a", "abbr", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "blockquote", "br", "button", "canvas", "cite", "code", "command", "datalist", "del", "details", "dfn", "div", "dl", "em", "embed", "fieldset", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "map", "mark", "menu", "meter", "nav", "ns1:switch", "ns1:trigger", "ns2:math", "ns3:svg", "object", "ol", "output", "p", "pre", "progress", "q", "ruby", "s", "samp", "script", "section", "select", "small", "span", "strong", "style", "sub", "sup", "table", "textarea", "time", "u", "ul", "var", "video" or "wbr" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/1998/Math/MathML" xmlns:ns3="http://www.w3.org/2000/svg")
당신은 할 수 있지만 표준이 아니므로 다양한 독자들이 귀하의 콘텐츠를 어떻게 표시 (또는 무시)할지 선택하는 방법을 알고 있습니다. – Freney