Page last modified 11:54, 19 Aug 2014 by Antero

IllegalQName

    Please note! This page describes the nature of the error using a hypothetical example and not the erroneous data of the input test file. You should however be able to apply this information to your error case.

    General description of the error:

    The format of the error message: Element or attribute do not match QName production: QName::=(NCName':')?NCName.

    Possible causes for this error:

    • Attribute is not properly declared
      • Invalid character is used to separate attribute name and value. Character = has to be used to separate name and value in attribute.
      • Attribute name has an invalid character

    Example

     <InstdAmt Ccy:"JPY">10000000</InstdAmt> 

     

     

    Error message: Element or attribute do not match QName production: QName::=(NCName':')?NCName.

    How to fix: Replace : with =

    <InstdAmt Ccy="JPY">10000000</InstdAmt>  

    Menu