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 » Error in DTD Validation

Post new topic  Reply to topic
 Error in DTD Validation « View previous topic :: View next topic » 
Author Message
sac063
PostPosted: Fri Jan 23, 2004 2:32 am    Post subject: Error in DTD Validation Reply with quote

Apprentice

Joined: 23 Jan 2004
Posts: 36

I have imported a DTD into my message set after applying the XML physical layer. The root tag in XML tab properties is also set to MRM. But the input XML message is not being validated for the minOccurs constraint for attributes. DTD however clearly states that attribute is #REQUIRED.

The input node properties are set to validate with the timing Immediate. But this does not seem to help. Exception is thrown if an Element with minOccurs = 1 is missing in the input XML message. But the message is successfully parsed if the attribute with minOccurs = 1 is missing in the input XML message.

Can somebody help me out of this ??
Back to top
View user's profile Send private message
wooda
PostPosted: Fri Jan 23, 2004 2:50 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

Which version are you using ? 2.1 or 5.0?

Are you saying that the minOccurs propery for the attribute is set in the message after the import but no validation is taking place ?
Back to top
View user's profile Send private message
sac063
PostPosted: Fri Jan 23, 2004 2:59 am    Post subject: Reply with quote

Apprentice

Joined: 23 Jan 2004
Posts: 36

WMQI version i am using is 2.1. CSD06
The minOccurs constraint is set when the DTD is imported. I have not set the property explicitly. In short, i have not made any changes after DTD was imported.

Since the attribute is #REQUIRED, minOccurs is 1. But the validation does not occur!!
Back to top
View user's profile Send private message
wooda
PostPosted: Fri Jan 23, 2004 3:14 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

Ok.

I understand you imported from a DTD where the attribute is #REQUIRED and therefore righty expect minOccurs=1.

But please confirm that after the import if you look at the message set in the control center the attribute has the the MinOccurs property correclty set to 1. In other words check the import has worked correctly.
Back to top
View user's profile Send private message
sac063
PostPosted: Fri Jan 23, 2004 3:17 am    Post subject: Reply with quote

Apprentice

Joined: 23 Jan 2004
Posts: 36

Yes zanda.

I have checked the property.
The import was worked correctly.
Back to top
View user's profile Send private message
sac063
PostPosted: Mon Jan 26, 2004 10:37 pm    Post subject: Reply with quote

Apprentice

Joined: 23 Jan 2004
Posts: 36

No breakthrough on this one.
Does validation work for attributes at all. Ones that have minOccurs constraint set i mean !!!!
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jan 27, 2004 8:27 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This sounds like a defect - probably best to contact IBM support.
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 » Error in DTD Validation
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.