|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WMQ Message Flow Adds Namespace Prefix to XML Message Tags |
« View previous topic :: View next topic » |
Author |
Message
|
albitkw |
Posted: Thu Feb 08, 2007 8:12 am Post subject: WMQ Message Flow Adds Namespace Prefix to XML Message Tags |
|
|
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 |
|
 |
msukup |
Posted: Sat Feb 10, 2007 5:14 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|