search cancel

XPSImport XML parsing error

book

Article ID: 238232

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

I am exporting a domain using XPSExport -xo from our dev Siteminder policy server and trying to import the domain using XPSImport to our QA Siteminder policy server.

When I run XPSImport I am getting this error:

Log Time Phase/Section                #Objects       %age        Elapsed
-------- ------------------------ --------------- -----------  -----------------
13:48:58 Initializing
(INFO) : [sm-xpsxps-05950] Import Operation is entering the "Reading" phase.
13:48:58 Reading                                               00:00:00
(ERROR) : [sm-xpsxps-01750] Exception occurred during XML parse. Error - (expected entity name for reference). (63)
13:48:58 Reading                                               00:00:00  00:00:00
(INFO) : [sm-xpsxps-05870] 0 policy data object(s) imported.
(INFO) : [sm-xpsxps-05881] Configuration parameters will not be imported. To import configuration parameters use the '-c' command line parameter.
(INFO) : [sm-xpsxps-05890] 0 security object(s) imported.
(INFO) : [sm-xpsxps-07533] No policy server is running.
(FATAL) : [sm-xpsxps-05810] Import failed.

Cause

The XPSExport resulted in invalid XML due to an unexpected character.  Since the environment in question was using external administrator authentication for the AdminUI, the 'UpdatedBy' field for each exported object contained a full user DN.  In this admin store, the user DN contained an un-escaped ampersand character in one of the OUs.  

Environment

Release : ALL

Component : SITEMINDER -POLICY SERVER

Resolution

If such characters cannot be avoided or escaped, do a find/replace in the exported xml file to work around the import problem.  As this field is for display purposes only, modifying the field to avoid the XML parsing problem will have no effect on policies.