IRS Logo
Print - Click this link to Print this page

FATCA XML Schema Best Practices for Form 8966

FATCA XML documents should conform to recommended XML schema best practices. Certain characters are prohibited and if included will cause the file to reject the transmission and generate an error notification.

Non-Optional Entity Reference

If an XML document contains one of these characters in the XML text content, the data packet will be rejected and an error notification (XML not well-formed) will be generated. These characters are not allowed by XML syntax rules and must be replaced with the following predefined entity references. To prevent error notifications, please ensure your XML documents do not include any of these characters.

Character

Description

Entity Reference

& Ampersand &
< Less Than &lt;

Optional Entity Reference

If an XML document contains one of these characters in the XML text content, it is not restricted and will not cause an error notification. The characters should be replaced by the following predefined entity references to conform to XML schema best practices.

Character

Description

Entity Reference

> Greater Than &gt;
' Apostrophe &apos;
" Quotation Mark &quot;

SQL Injection Validation

If an XML document contains one of these combinations of characters in the XML text content, the data packet will be rejected and a failed threat detection (error) notification will be generated. These combinations of characters are not allowed.. To prevent error notifications, do not include any of these combinations of characters.

Character

Description

Entity Reference

- - Double Dash N/A
/* Slash Asterisk N/A
&# Ampersand Hash N/A

 

Page Last Reviewed or Updated: 08-Aug-2016