Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Knowledge Articles
    4. Blank patron barcodes result in invalid XML on export, errors on import

    Blank patron barcodes result in invalid XML on export, errors on import

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Symptoms
    2. Defect Status
    3. Replication Steps
    4. Workaround
    • Product: Voyager
    • Product Version: 9.2.1; 10.1.0
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local

    Symptoms

    XML Patron Import using file generated by XML Patron Export results in error:

    ERROR:  'org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 60; cvc-elt.3.1: Attribute 'http://www.w3.org/2001/XMLSchema-instance,nil' must not appear on element 'barcode', because the {nillable} property of 'barcode' is false.'
    Input file is not well formed (line 2 column 60): cvc-elt.3.1: Attribute 'http://www.w3.org/2001/XMLSchema-instance,nil' must not appear on element 'barcode', because the {nillable} property of 'barcode' is false.

    Defect Status

    Issue VYG-7108 is resolved in Voyager 10.1.0

    Replication Steps

    1. Identify a patron record with a blank barcode
    2. Run an XML patron export that will capture that patron record.
    3. Note the resulting XML.
    <patron xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    
    <barcode xsi:nil="true"/>
    
    1. Using the same file, run XML patron import to add the records back into the database.
    2. Resulting error:

    ERROR:  'org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 60; cvc-elt.3.1: Attribute 'http://www.w3.org/2001/XMLSchema-instance,nil' must not appear on element 'barcode', because the {nillable} property of 'barcode' is false.'
    Input file is not well formed (line 2 column 60): cvc-elt.3.1: Attribute 'http://www.w3.org/2001/XMLSchema-instance,nil' must not appear on element 'barcode', because the {nillable} property of 'barcode' is false.

    Workaround

    Replace blank barcodes with barcode numbers


    • Article last edited: 31-May-2018
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Bibs with many holdings not fully displaying record in WebVoyage
      • Blank record display in WebVoyage when charged to status patron
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Voyager
    2. Tags
      1. voy-resolved-10
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved