Page tree
Skip to end of metadata
Go to start of metadata

I see an error marker. Found X expected Y

 


HINTS

This typcally indicates that the field or function you want to map into expects a type 'Y', but what is coming out of your mapping is of type 'X' which does not fit to 'Y'.

Example:

Found xsd:string, expected list of xsd:string

would mean that you try to map a single string where a list of strings is expected.

Found xsd:int, expected of abc:anyType

would mean that you try to map xsd:int into a custom type abc:anyType.

A more intriguing concept you need to be aware of applies when using JDDIC types com.sap.dictionary.*. Those simple types are converted to XSD types according to the following table:

JDDIC Type

XSD Type

com.sap.dictionary.boolean

xsd:boolean

com.sap.dictionary.time

xsd:time

com.sap.dictionary.long

xsd:long

com.sap.dictionary.float

xsd:float

com.sap.dictionary.integer

xsd:int

com.sap.dictionary.binary

xsd:base64Binary

com.sap.dictionary.short

xsd:short

com.sap.dictionary.byte

xsd:byte

com.sap.dictionary.double

xsd:double

com.sap.dictionary.string

xsd:string

com.sap.dictionary.date

xsd:date

com.sap.dictionary.timestamp

xsd:dateTime

com.sap.dictionary.decimal

xsd:decimal

 

 

  • No labels