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 » General Discussion » WMQ Message Flow Adds Namespace Prefix to XML Message Tags

Post new topic  Reply to topic
 WMQ Message Flow Adds Namespace Prefix to XML Message Tags « View previous topic :: View next topic » 
Author Message
albitkw
PostPosted: Thu Feb 08, 2007 8:12 am    Post subject: WMQ Message Flow Adds Namespace Prefix to XML Message Tags Reply with quote

Novice

Joined: 02 May 2005
Posts: 15
Location: Pittsburgh, PA

A simple message flow using a small MRM XML1 Message set is adding namespace prefixes to XML tags. No duplicate tag values occur in message, and since the debugger does not display the prefixes, we do not know what node is adding them. Messages from input queue without namespaces are written to an output queue with namespace prefixes.

The message set was created from an XML schema that has a default namespace definition. The structure is similar to others that do not cause this to occur.

Is there a property in a message set, message flow, or message flow node that would cause this to happen? If not, what other issues could be involved.

Running WMQ version 5.

Wayne A.

PS - Would namespace prefixes cause any issues with xml based procedures in Oracle that load data into fields identified by tag values? In other words, would the namespace prefixes be ignored?
Back to top
View user's profile Send private message
msukup
PostPosted: Sat Feb 10, 2007 5:14 am    Post subject: Reply with quote

Acolyte

Joined: 11 Feb 2002
Posts: 56

you likely need to adjust your message set (assuming that it was derived from schema) -- there are two properties on .mxsd properties for defaulting whether elements and attributes are qualified or unqualified (elementFormDefault on schema). it sounds like you may need them to be unqualified, then prefixes won't output. i would first change xml schema and then re-import message set . . .

if you run with trace rather than debugger or use trace node to file, you should be able to fully analyze the namespace assignments and prefixing . .

theoretically, it shouldn't matter whether the elements are qualified or not for consumers of messages defined by schema, as the schema outlines format . . . but in practice, it does make a difference.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » WMQ Message Flow Adds Namespace Prefix to XML Message Tags
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.