#1242 epub3: wrong CSS format

output: ePub
pending-wont-fix
CSS (1)
5
2012-10-22
2012-07-08
compagnon
No

Hello !

The docbook-epub.css (epub3) seems wrong (do not pass the epubcheck validation) beacause of invalide character.
Indeed, the file begin with '<?xml version="1.0" encoding="UTF-8"?>' and some entities appear inside :
"nav&gt;ol&gt;li&gt;a { ..."
I think it should be "nav > ol > li > a {..."
Thanks.

Discussion

  • compagnon

    compagnon - 2012-07-08

    sample of docbook-epub.css file

     
    Attachments
  • Robert Stayton

    Robert Stayton - 2012-07-10

    This appears to be an issue only with the Xalan processor, which cannot produce output with method="text", which is needed for the css file. Try using Saxon or xsltproc.

     
  • Mauritz Jeanson

    Mauritz Jeanson - 2012-10-14
    • assigned_to: wavy --> nobody
    • summary: wrong format --> epub3: wrong CSS format
     
  • Robert Stayton

    Robert Stayton - 2012-10-22

    Because the Xalan processor does not properly support output method="text", it cannot produce valid epub3 output. So now the stylesheet checks to see if the processor is Xalan and exits if it is.

     
  • Robert Stayton

    Robert Stayton - 2012-10-22
    • assigned_to: nobody --> bobstayton
    • status: open --> pending-wont-fix
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks