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 » DFDL MOdeling CalenderPattern

Post new topic  Reply to topic
 DFDL MOdeling CalenderPattern « View previous topic :: View next topic » 
Author Message
SphereOfLove
PostPosted: Fri Oct 03, 2014 1:41 pm    Post subject: DFDL MOdeling CalenderPattern Reply with quote

Apprentice

Joined: 13 May 2014
Posts: 38

Hi I am getting the following Exception when i changed the CalenderPattern Kind from explicit and CalenderPattern "MMddHHmmss" to explicit "yyyy-MM-dd hh:mm:ss";
"
Code:
Description   Resource   Path   Location   Type
CTDM2230E : DFDL property 'calendarPatternKind' appears more than once for an object when scoping rules applied. Object 'xs:element #MessageReceivingTime'.   ISO8583_Unpacked.xsd   /ISO8583_Library   line 85   DFDL Validation Problem

"

I am trying to read a message from a file into ISO8583 Model, the field name is MessageReceivingTime declared as "Type_n_DateTime"
explicit length 14.

The datetime value that i am reading is "20140929155025"

Please help
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Oct 03, 2014 1:49 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Quote:

CalenderPattern "MMddHHmmss" to explicit "yyyy-MM-dd hh:mm:ss";


seems at odds with

Quote:

The datetime value that i am reading is "20140929155025"


Which (IMO) is more like a 'yyyyMMddHHmmss' kind of pattern.

Anyway be careful about the use of 'HH' and 'hh' That can cause you grief later on.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
SphereOfLove
PostPosted: Fri Oct 03, 2014 2:02 pm    Post subject: Reply with quote

Apprentice

Joined: 13 May 2014
Posts: 38

smdavies99 wrote:
Quote:

CalenderPattern "MMddHHmmss" to explicit "yyyy-MM-dd hh:mm:ss";


seems at odds with

Quote:

The datetime value that i am reading is "20140929155025"


Which (IMO) is more like a 'yyyyMMddHHmmss' kind of pattern.

Anyway be careful about the use of 'HH' and 'hh' That can cause you grief later on.


I have tried to change MMddHHmmss to your provided format "yyyyMMddHHmmss", but it still shows exception.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Oct 03, 2014 3:09 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The error is explained in the text. You have two items of the same name in scope. Fix that and you can move forward
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Oct 05, 2014 11:58 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This is a schema definition error ( a compiler error in your DFDL xsd ).
The Calendar Pattern property is probably being set on the element and on its type. That's not allowed - the DFDL properties from the element and its type must not overlap.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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 » DFDL MOdeling CalenderPattern
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.