CA Identity Manager: An invalid XML character (Unicode: 0x1f) was found in the element content of the document
search cancel

CA Identity Manager: An invalid XML character (Unicode: 0x1f) was found in the element content of the document

book

Article ID: 99214

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction



Attempting to import an environment zip file, you are getting the below error: 

Error: An invalid XML character (Unicode: 0x1f) was found in the element content of the document.

You might have also ran the environment xml through an xml formatter and found nothing wrong with it. However you repeatedly get the error. You might have also used the exact same XML in the past without issue.

You have also read the documentation found here:

https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-manager/14-5/configuring/siteminder-integration/integrate-siteminder-with-identity-manager/import-identity-manager-schema-into-the-policy-store.html 

Environment

Release:
Component: IDMGR

Resolution

Unicode: 0x1F is the Unit Separator character. 

0x1F is decimal 31, so find in range from 31-31 and simply remove the two rogue characters. 

Using Notepad++, one can locate those and remove. 

STEPS:

1) Open the XML file in Notepad++ 

2) Enable "Show All Characters" (i.e. View->Show Symbols->Show All Characters) 

3) Use 'Find Characters in range' feature. (i.e. Search->Find Characters in range). This should be the last option once you click on 'Search' menu bar option. 

4) In the dialog box, pick 'My Range' and in both column define 31 - 31 

5) Search for all those USUS characters which is the root cause, delete them, save the file and attempt to import.