Problem Statement
This article explains how to handle the error mentioned in the succeeding section. When a file is uploaded through Attachment 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 |
...
Here are the characters that are allowed / & not allowed in the filename:
Characters that are allowed | Characters that are not NOT allowed |
---|---|
! @ # $ % ^ & ( ) - _ = + [ ] { } . , ` ~ | \ / : * ? " < > | ' |
Solution
Please follow the below steps to overcome the issue. To resolve the issue:
- If the file name contains a special character i.e. an apostrophe ( ' ), remove the character it and save the file.
- Upload the file using the macro, Attachment table by using Attachment Table macro.
- You can view the File file contents on the confluence page.
Info |
---|
This issue is escalated as a bug and the ticket TBL-1128 is with our development team. |
...