nooyoo11 / epubcheck

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

typemustmatch attribute in <object> treated as error #282

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PROBLEM:

If object tag contains data, type and typemustmatch attributes, validation 
failed with error 'attribute "typemustmatch" not allowed here; ...'

METHOD:

1. Create EPUB using attached contents.xhtml
2. Run Epubcheck on it

RESULT:

Log contains:
Validating against EPUB version 3.0
ERROR: ./tmp.epub/OPS/contents.xhtml(10,78): attribute "typemustmatch" not 
allowed here; expected attribute ...

EXPECTED:

No error about typemustmatch attribute in object tag when data and type 
attributes are specified too. 

PLATFORM:

Epubcheck 3.0.1 on Linux x86_64

ADDITIONAL INFO:

Link to HTML5 spec about object tag: 
http://www.w3.org/TR/html5/embedded-content-0.html#the-object-element

Original issue reported on code.google.com by pm2...@gmail.com on 11 Jun 2013 at 8:30

Attachments:

GoogleCodeExporter commented 9 years ago
THIS ISSUE MOVED TO GITHUB:
https://github.com/IDPF/epubcheck/issues/

Original comment by rdeltour@gmail.com on 7 Nov 2013 at 10:49