iPrint migration: OES 2015 to iPrint Appliance 1.1 fails due to special characters

  • 7017272
  • 18-Feb-2016
  • 18-Feb-2016

Environment

iPrint Appliance 1.1 Patch 4 (version 419)

Situation

When running miggui to migrate from OES 2015 to Appliance 1.1, the migration fails. Drivers are migrated but Printer Agents are not created

Resolution

Reported to engineering

Cause

The following error is seen on the debug.log file within the migration project folder:

2016-02-17 14:43:15,439 DEBUG - 2> Information: In main () : Input XML file : /tmp/iprintmig_VRbTw8RiQiZy/psmimport.xml
2016-02-17 14:43:15,440 DEBUG - 2> Fatal(98): In parseXMLFile() : Failed to parse XML file, '/tmp/iprintmig_VRbTw8RiQiZy/psmimport.xml' :
2016-02-17 14:43:15,440 DEBUG - 2> not well-formed (invalid token) at line 147, column 29, byte 9870 at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm line 187
2016-02-17 14:43:15,441 DEBUG - 2>
2016-02-17 14:43:15,441 DEBUG - 2>
2016-02-17 14:43:15,441 DEBUG - MigController:isMigrationRunning: start
2016-02-17 14:43:15,441 DEBUG - MigController:isMigrationRunning: retval true
2016-02-17 14:43:15,441 DEBUG - calling update total errors from migprocess
2016-02-17 14:43:15,441 DEBUG - 2> Error(100): Error (98): Information: In main () : Created a logger reference.
2016-02-17 14:43:15,441 DEBUG - 2> Information: In main () : Input XML file : /tmp/iprintmig_VRbTw8RiQiZy/psmimport.xml
2016-02-17 14:43:15,442 DEBUG - 2> Fatal(98): In parseXMLFile() : Failed to parse XML file, '/tmp/iprintmig_VRbTw8RiQiZy/psmimport.xml' :
2016-02-17 14:43:15,442 DEBUG - 2> not well-formed (invalid token) at line 147, column 29, byte 9870 at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm line 187
2016-02-17 14:43:15,442 DEBUG - 2>

Line 147:
<keyname>KM bizhub-C224e & C364e Serie {PS3} v4.1.0.0</keyname>


column 29 is the '&' sign. This character is causing the xml parsing to fail.

Status

Reported to Engineering