Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    file-20: "failure . . . trying to read XML input file."

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Problem Symptoms:
    file-20 (patron loader) ends with the message: "... Failure occurred while trying to read XML input file (XML might be invalid)", no $data_scratch p_file_20_report is produced, and no records are output.

    Invalid (XML) input. See Additional Information for specific example.

    Solution 1:

    a. Search for the diacritic character shown in the error message (such as, "?"), change each occurrance to the non-diacritic form ("e") in the input file, and rerun the job.

    b. If an error occurs for a different character, locate and change it also and rerun.

    c. Repeat until the job runs successfully.

    Solution 2: Consult Article 0021366 ("file-20: Errors for non-ascii characters").

    Additional Information

    Earlier in the file-20 log file the following messages are seen:

    parser error : Input is not proper UTF-8, indicate encoding !
    Bytes: 0xE9 0x65 0x20 0x4C
    <z303-first-name>Ren?e Lynn</z303-first-name>
    /exlibris/aleph/u22_1/lfc50/scratch/patdata.dat:286087: parser error : Premature end of data in tag xml line 1

    [And possibly(?)...]

    I/O error : file 'BOR_FILE'
    error code: 4/2 (ANS85), pc=0, call=1, seg=0

    Category: Circulation (500)

    • Article last edited: 1/5/2015