Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagexml
themeMidnight
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

EnvironmentCloud
ApplicationConfluence

...

Here are the characters that are allowed / & not allowed in the filename:

Characters that are allowedCharacters that are not NOT allowed
! @ # $ % ^ & ( ) - _ = + [ ] { } . , ` ~\ / : * ? " < > | '

Solution

Please follow the below steps to overcome the issue. To resolve the issue:

  1. If the file name contains a special character i.e. an apostrophe ( ' ), remove the character it and save the file.
  2. Upload the file using the macro, Attachment table by using Attachment Table macro.
  3. 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.

...