Some PML conversions cause FlightCrew errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Two PML conversions cause FlightCrew error reports.
\w="85%" for a horizontal rule/line causes "Error schema not satisfied : attribute 'width' is not declared for element 'hr' near column 35". This generates :
<hr width="85%" class="calibre2"/>
If I move the width= bit in to the CSS class then the FlightCrew error is fixed. However if there's more than one length horizontal line I need a separate CSS class for each width.
\X0\cPROLOGUE\c\X0 to create a chapter title with the \c centre tags inside the chapter tags causes "Error schema not satisfied : element 'div' is not allowed for content model '(a|br|
<h2 class="calibre3" id="calibre_
If I change the two "span" to "div" it fixes the FlightCrew error. I'm not sure if that is the best fix though! It works for me. :)
Please let me know if you'd rather two separate bug reports for these.
Neither of those errors are meaningful. They will not cause any
rendering issues in any reader. However, since they are easy to fix, I
will do so.