We are getting the XML data as input.
We have created the publishable canonical document by using the XSD structure.In the XSD structure some of the feilds are of type int ,decimal and datetime.The Canonical document feilds we have created using the XSD structure appears as “STRING”.So we have changed that feild into object and selected the appropriate java wrapper type.
But the input XML data we are getting it as string…so after mapping we are not able to publish the document type.The following error occurs…
Data does not conform to the publishable document type.
Expected Date value…obtained string value.
Please tell us,whether we need to use all the feilds as string…or we need to use any XML schema…and how to do it…
Thanks in advance…
Thanks & Regards,