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

When attempting to open a Word document using the Word Doc from Template Smart Service, a parsing error is thrown, as such:

Cause

An HTML formatting tag, such as <i> or <b>, or the characters &<, and >, can cause this parsing error.

Action

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