wiki:TestCase

Calenco test case

  • Start from a blank workspace
  • Create a DocBook XML v5 book file with your prefered XML editor
  • Upload the file - OK
  • Transform the file in PDF with default style sheet - OK
  • Download the result and open it with acrobat - OK
  • Modify the file and update it - OK
  • Transform the file again in PDF, download it, open it - OK
  • Add an image to the file
  • Transform file into pdf without the image file
    • error : "Cannot transform content : 'Cannot find dependency : "fr-aixenprovence-overview.png"'" - Expected
  • Upload the image file - OK
  • Transform file into pdf with the image file, download result, open result - OK
  • Transform file into html-single, download result, open result - OK
  • Transform file into html-chunk, download result, open result - OK
  • Add an XInclude to the file(chapter) upload - OK
  • Transform file into pdf without included file :
    • error : "Cannot transform content : 'Cannot find dependency : "ChapTest.xml"'" - Expected
  • Upload xml file for XInclude - OK
  • Transform file into pdf with the included file, download result, open result - OK
  • Transorm file into pdf without XInclude processing
    • error : Cannot transform content : "'Error transforming to PDF : "/opt/tomcat6/temp/1218574625290/temp.fo" to "/opt/tomcat6/temp/1218574625290/out-1218574625290.pdf"'" - Expected, but the error is not very helpful
  • Transorm file into html single without XInclude processing :
    • no error and the result is corrupted
  • Same with html chunk.
  • Transform file into PDF with parameter "double.sided=1"
    • error : "Cannot transform content : 'Error transforming to PDF : "/opt/tomcat6/temp/1218574625290/temp.fo" to "/opt/tomcat6/temp/1218574625290/out-1218574625290.pdf"'" Unexpected, the same happens when trying to transform on the command line
    • this error happens when not using the parameter "fop.extensions=1" it's not a bug of Calenco.
  • Upload fo style sheet and transform with it - OK
  • Transform into html-chunk with parameters: