View Single Post
Old 08-30-2011, 06:52 AM   #1
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,148
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Flightcrew validation error

When trying to validate an ePUB containing the document below, I get an error:

Code:
Entities.xhtml(2): error 900: internal subset is not allowed when reusing the grammar
The XHTML validates with the W3C validator, works fine in a browser, and the ePUB validates with epubcheck. Is this a bug in Flightcrew or is there some restriction I can't find in the spec? (I have Flightcrew 0.7.0, maybe this has changed in newer versions?)

This is the XHTML file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
 <!ENTITY mdash "this is an em-dash">
 <!ENTITY sample "some sample entity">
 <!ENTITY loq "">
 <!ENTITY roq "">
 <!ENTITY liq "">
 <!ENTITY riq "">
 <!ENTITY ap "">
 <!ENTITY hellip ".*.*.">
]>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ops="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
  <title>Custom Entities</title>
  <link href="../Styles/style-04.css" type="text/css" rel="stylesheet" />
</head>
<body>

<h1>Custom Entities</h1>

</body>
</html>
Jellby is online now   Reply With Quote