Re: epub 3.0.1 attribute epub:type="toc"

DUBOIS Yvon <duboisy@iata.org>, 2016-10-24 17:51 +0000:
> Archived-At: <http://www.w3.org/mid/VI1PR0501MB2479B903F8BC41F1FF21DE4DCCA90@VI1PR0501MB2479.eurprd05.prod.outlook.com>
> ...
> However, it does not address the following error for an xhtml file that is part of the IDPF epub 3.0.1 specifications:
> 
> 1.    Info: Using the preset for XHTML with SVG 1.1, MathML 3.0, RDFa
> 1.1, and ITS 2.0 support based on the root namespace.
> 
> 2.    Error: Attribute type from namespace http://www.idpf.org/2007/ops
> not allowed on XHTML element
> nav<http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-nav-element>
> at this point.
> 
> From line 10, column 7; to line 10, column 39
> 
> dy>↩ <nav epub:type="toc" class="toc">↩
> Attributes for element nav<http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-nav-element>:
> 
> 
> The IDPF specifications (http://www.idpf.org/epub/301/spec/epub-contentdocs.html#sec-xhtml-content-type-attribute) state:
> ..

The W3C validator is an HTML checker, not an HTML+epub checker. epub:type
is part of epub, not HTML. To check epub files I think you instead want
http://validator.idpf.org/

  —Mike

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Wednesday, 26 October 2016 23:39:21 UTC