You are currently reviewing an older revision of this page.

DRAFT KB-XXXX "We're sorry. We can't open [enter Word document name here] because we found a problem with its contents... Xml parsing error."

Symptoms

Parsing Error is thrown when the user attempts to open a Word document from the "Word Doc from Template Smart Service".

The error appears as the following image:

Cause

The user included an HTML formatting tag,  such as <i> or <b>, or the characters &<, and >, causing a parsing error.

Action

Follow the instructions in the Appian Document for "Word Doc from Template Smart Service" found in:

https://docs.appian.com/suite/help/latest/Word_Doc_from_Template_Smart_Service.html

For process variables, constants, and typed values, do not use HTML formatting tags, such as <i> or <b>, or the characters &<, and >. If necessary, use the toHtml() function to remove these characters (i.e. rather than using <, use toHtml(<)).

Affected Versions

This article applies to Appian 17.1 and later.

Last Reviewed: January 2018