Error exporting PDF: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML char

Yelloobee Support shared this problem 6 years ago
Resolved

Goodmorning,

when exporting one of our reports to PDF I get the following error message:

An error occurred exporting your report to PDF.

The error message in the Yellowfin log (attached) is:

YF:2018-10-17 10:52:18:ERROR (MIReportOutputAction:A) - Error exporting PDF: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Replies (4)

photo
1

Hi Support,

We have not come across this error. Does the problem happen on all reports or just one?

From what I have been reading this can happen if you have a name for your table or for a column in your table that is not legal as an XML element name. For example, these things cannot contain spaces or certain characters in the name. I am therefore wondering if this is the case here? Can you please have a look at the report and check the names of the table/columns being used for this report. It might be interesting to create a test report based on this one and add / remove columns in the report to see which one might be causing this.

If this is not the case as above, please let me know.

Thank you,

Paul

photo
1

Great Paul,

I found the problem bij removing the predefined html rows one by one.

There was one row with an incomplete html definition.

It is fixed now.

Thanks for your quick respons.

Kind Regards,

Rinus Jansen

Van: Support Queue <support@Yellowfin.bi>

Verzonden: woensdag 17 oktober 2018 11:54

Aan: Yelloobee | Team <Yelloobee@4appsgroup.nl>

Onderwerp: New Comment in "Error exporting PDF: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML char"

photo
1

Problem solved by fixing an incomplete html definition

photo
1

Hi Team,

That is great news. Thank you for getting back to me. If you need further help, please let me know.

Regards,

Paul

Leave a Comment
 
Attach a file