Problem Statement
This article explains how to handle the error mentioned in the succeeding section. When a file is uploaded through Attachment table Table macro to display its contents by using the app: Advanced Tables for Confluence, an error occurs if filename is having an apostrophe.
Error Message
Code Block | ||||
---|---|---|---|---|
| ||||
com.ctc.wstx.exc.WstxLazyException Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'modificationDate'. |
See the below image for the above-mentioned error.
Environment
Environment | Cloud |
---|---|
Application | Confluence |
...
Panel | ||
---|---|---|
| ||
A special character apostrophe (') is placed in the filename causing the issue. |
Please note the app allows the below special characters in the filename:
Code Block |
---|
! @ # $ % ^ & ( ) - _ = + [ ] { } . , ` ~ |
But the following mentioned characters are not allowed in the file name.
...
Characters that are allowed | Characters that are not allowed |
---|---|
! @ # $ % ^ & ( ) - _ = + [ ] { } . , ` ~ | \ / : * ? " < > | ' |
Solution
Please follow the below steps to overcome the issue.
- If the file name contains a special character i.e. apostrophe( ' ) remove the character and save the file.
- Upload the file using the macro, Attachment table macro.
- You can view the File contents on the confluence page.
Info |
---|
This issue is escalated as a bug and the ticket TBL-1128 is with our development team. |
...