Jump to content
  • DOCX Exporter (Jasper Reports 3.5.3) creates invalid documents


    chamberlain
    Assigned User teodord
    CategoryBug report
    PriorityUrgent
    ReproducibilityAlways
    ResolutionFixed
    SeverityBlock
    StatusClosed

    I have just downloaded and started to use Jasper Reports 3.5.3. Our main motivation for upgrading (besides bug fixes) are in order to use the new DOCX exporter.

     

    However, it seems that the documents produced cannot be opened by Word 2007. It appears that the document is missing a semicolon somewhere.

     

    I have attached the .docx report, the .jasper source I used to generate it and a screenshot of the error in Word.

     


    Attachments: docx-3-5-3-error.zip

    User Feedback

    Recommended Comments

    Hi,

     

    A fix has been committed for this on SVN. The trouble was with the hyperlink which was not XML encoded. Note that DOCX is actually a ZIP made of XML files.

     

    Please test the SVN head version and let us know how it works.

     

    I also saw there is an extra page in the DOCX generated for your report. That is another issue and if you want to have it fixed, please log a different tracker for it.

     

    Thank you,

    Teodor

     

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...