Modify

Opened 5 years ago

Closed 5 years ago

#5296 closed defect (fixed)

Word export fails on trac 11.4 when page contains external links

Reported by: rlu Owned by: lei
Priority: normal Component: PageToDocIntegration
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Error Message:

 Trac detected an internal error:

Exception: Error executing command (return code = 6): /tmp/page2docS3FI4u/trac_GBiu4B:138: parser error : Entity 'nbsp' not defined
"metainfo"> -- 
[... skipped cause of href ]

unable to parse /tmp/page2docS3FI4u/trac_GBiu4B

Attachments (1)

pagetodocintegration-5296.patch (506 bytes) - added by weltweitehrlich 5 years ago.
Bugfix

Download all attachments as: .zip

Change History (5)

comment:1 Changed 5 years ago by weltweitehrlich

Error occured during XSL transformation. The entity nbsp is unknown for the processor. Google says: Add

<!DOCTYPE xsl:stylesheet [
    <!ENTITY nbsp "&#160;">
]>

to your XSLT but this didn't help.

Any ideas?

comment:2 Changed 5 years ago by weltweitehrlich

  • Resolution set to fixed
  • Status changed from new to closed

Solution:

Call xsltproc with argument --html

Changed 5 years ago by weltweitehrlich

Bugfix

comment:3 Changed 5 years ago by weltweitehrlich

  • Resolution fixed deleted
  • Status changed from closed to reopened

Please insert patch to source code.

comment:4 Changed 5 years ago by Mark Mc Mahon

  • Resolution set to fixed
  • Status changed from reopened to closed

Thanks for the patch. I have committed it.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.