Modify

Opened 8 years ago

Closed 8 years ago

#5296 closed defect (fixed)

Word export fails on trac 11.4 when page contains external links

Reported by: rlu Owned by: Lucas Eisenzimmer
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 8 years ago.
Bugfix

Download all attachments as: .zip

Change History (5)

comment:1 Changed 8 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 8 years ago by weltweitehrlich

Resolution: fixed
Status: newclosed

Solution:

Call xsltproc with argument --html

Changed 8 years ago by weltweitehrlich

Bugfix

comment:3 Changed 8 years ago by weltweitehrlich

Resolution: fixed
Status: closedreopened

Please insert patch to source code.

comment:4 Changed 8 years ago by Mark Mc Mahon

Resolution: fixed
Status: reopenedclosed

Thanks for the patch. I have committed it.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Lucas Eisenzimmer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.