SarannyaRaj / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

XHTML1.1 was updated in 2010 to add the lang attribute back #215

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
XHTML1.1 was updated in 2010 to add the lang attribute back.  That is, the 
following is valid XHTML 1.1: 

<span lang="grc" xml:lang="grc">γάτα δαδὶ φυλῆς ὅταν</span>

See "Status of this document" in: 
http://www.w3.org/TR/2010/REC-xhtml11-20101123/

Epubcheck Version 3.0b5 doesn't like this, it outputs:

ERROR: /__SNIP__: attribute "lang" not allowed here; expected attribute 
"class", "dir", "id", "style", "title" or "xml:lang"

File  __SNIP__ is declared as:

<?xml version="1.0"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

Expected: Valid
Actual: Invalid

Original issue reported on code.google.com by dac.chartrand on 17 Oct 2012 at 5:03

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 17 Oct 2012 at 7:12

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r361.

Original comment by markus.g...@gmail.com on 17 Oct 2012 at 7:25