XIF parser fails due to -sign.

Issue

The XIF parser could fail if there is a "-sign in a commented row in the XIF default field.

Product Line

TAC Vista

Environment

TAC Vista

Cause

The XIF parser could fail if there is a "-sign in a commented row in the XIF default data field.

Example:

# -----------------------------------------------------
# -----------------------------------------------------
FILE value 1 1
##dde1  "1,2,3\x00,1,2;"         // UCPTdownDriveTime                SNVT_time_sec
0x66,0x66
##dde3 "1,2,23x00,2,2;"         // UCPTupDriveTime                     SNVT_time_sec
 

Resolution

Just removing the "-sign will work:

# -----------------------------------------------------
# -----------------------------------------------------
FILE value 1 1
##dde1 1,2,3\x00,1,2;           // UCPTdownDriveTime             SNVT_time_sec
0x66,0x66
##dde3 1,2,23x00,2,2;         // UCPTupDriveTime                   SNVT_time_sec