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 » MRM-XML parsing problem, length constraints in type

Post new topic  Reply to topic
 MRM-XML parsing problem, length constraints in type « View previous topic :: View next topic » 
Author Message
Bartez75
PostPosted: Tue Apr 28, 2009 6:19 am    Post subject: MRM-XML parsing problem, length constraints in type Reply with quote

Voyager

Joined: 26 Oct 2006
Posts: 80
Location: Poland, Wroclaw

I'm trying to parse xml message on MQGet node in broker 6.0.
On MQGet node:
Parser options: parse timing is set to Complete.
Validation: Contant and Value

One type of the message in message set has:
Logical properties:
SimpleType: xs:string
Value Constraints:
Length: 2

Problem is that when in xml message an element of that type has a string smaller then 2 (1 character) the message validates on MQGet (no error)

When I set:

Logical properties:
SimpleType: xs:string
Value Constraints:
Length: (empty)
Min: 2
Max: 2

then it doesn't validate and this is what I want.

So, my question is, what gives setting Length in the type in Value Constraints in terms of Validation?

Help says:
Quote:
The length property is used to specify the exact length of the simple type in bytes or characters.
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 » MRM-XML parsing problem, length constraints in type
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.