Posted: Tue Nov 23, 2004 12:09 pm Post subject: XSD Error
Apprentice
Joined: 17 Nov 2004 Posts: 30
I am validating the input XML with XSD using MQinput->Trace-MQOutout nodes..
I get the following error even whem my input message has just dateUploaded = 2004-11-12...
( DMSDVBR1.FMS ) Message Validation failure. Invalid value for element 97^dateUploaded.
The value 2004-11-12T00:00:00.000 does not conform to the DateTime type as denoted by template 'CCYY-MM-DD'.
I am wondering why the message flow sticking the time part...
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
What is the format you specified for this element in your XML wireformat? I remember a post realted to similar problem that was discussed in this forum (sorry could not find the link). Try doing a search in this forum. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
Please post the logical type of the field and the exact input value of the field, as well as the XML Datetime format property. (I am not sure what your ... means).
The error is that 2004-11-12T00:00:00.000 is a logical datetime and your field is constrained to be a logical date. This could be because you are using a datetime format that includes a time part.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum