Article - CS258327

"INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified" while attempting to export entities with special characters in ThingWorx Platform

Modified: 29-Aug-2019   


Applies To

  • ThingWorx Platform 7.3 to 8.4

Description

  • Not able to export Thing in .xml file, after binding additional property in configuration and setup
  • Defining a Thing with a property name that begins with or contains special character (valid for a property name) and then exporting that Thing fails in ThingWorx
  • Unable to export entities as XML that contain leading numbers
  • Unable to export entities as XML that contain special characters
  • Entities export as binary but fail as XML
  • ThingWorx allows properties to be created with @ or $ symbols in the name but these seem to cause issues on export
  • When attempting to export entities via XML the browser opens a new tab and displays a File Not Found page
  • Export attempt results in the web browser showing an error page containing
    • The web page <ThingWorx Server><Export Parameters> might be temporarily down or it may have moved permanently to a new web address
  • Error seen in \ThingworxStorage\logs\ApplicationLog.log:
    • Error while processing task : INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified
This is a printer-friendly version of Article 258327 and may be out of date. For the latest version click CS258327