ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » date physical representation validation problem

Post new topic  Reply to topic
 date physical representation validation problem « View previous topic :: View next topic » 
Author Message
ChristianH
PostPosted: Mon Mar 16, 2009 5:13 am    Post subject: date physical representation validation problem Reply with quote

Novice

Joined: 27 Sep 2007
Posts: 19
Location: London, UK

Hi,

I have a problem validating XML Messages with date fields.
I imported a XSD into an MRM and I´m validating the incoming XML Messages against the MRM.
The customer was sending the date fields in the format yyyy-MM-ddZZZ which worked fine.
Now he wanted to deploy another application which can only send the date fields in the format yyyy-MM-dd (without the timezone).
Unfortunatly this format doesn´t validate against the MRM and is rejected at the moment.

As both formats are valid according to the XML Schema which defines the fields as date, I´m trying to find a physical representation for the MRM that accepts both formats.
I couldn´t find anything in the IBM Documentation nor in the forum on this specific problem.

Has anyone experienced the same issue?
Am I´m missing something?

Best Regards



p.s. We are running on Broker Runtime 6.0.3.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Mar 16, 2009 5:41 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I´m trying to find a physical representation for the MRM that accepts both formats.
xs:string will work. You can convert to date in your ESQL if required.

The alternative, if you are on v6.1, is to switch to XMLNSC. It's not hard to make the change, and you get 100% W3C-compliant validation.
Back to top
View user's profile Send private message
ChristianH
PostPosted: Mon Mar 16, 2009 6:02 am    Post subject: Reply with quote

Novice

Joined: 27 Sep 2007
Posts: 19
Location: London, UK

Thanks for the quick reply kimbert!

I will try your first suggestion and change it later when we are migrating to 6.1.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » date physical representation validation problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.