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 » Namespace not applicable when promote properties

Post new topic  Reply to topic
 Namespace not applicable when promote properties « View previous topic :: View next topic » 
Author Message
danferry
PostPosted: Tue Sep 20, 2011 10:48 pm    Post subject: Namespace not applicable when promote properties Reply with quote

Novice

Joined: 11 Jul 2011
Posts: 12

Hy

I recognized a problem recently when I built a subflow containing a fileread node. To keep it dynamic I promoted the property 'Result' OutputDataLocation.

As there is a XMLNSC structure, I need namespaces to address the right field. But I can't insert namespaces - well I can but nothing happens.

so $OutputRoot/XMLNSC/x:data does not work. 'The x:data element in XPath $OutputRoot/XMLNSC/x:data was not found in the XML Schema.'

When I don't promote properties, it works and there is the correct namespace in the namespace list.

Other possibilities to solve the problem. Below my other tries...
$OutputRoot/XMLNSC/{'http://www.test.com'}:data
$OutputRoot/XMLNSC/['http://www.test.com']:data

Is this a known behaviour?

Thanks a lot for helping me

Daniel
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 21, 2011 1:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

"$OutputRoot/XMLNSC/x:data" does not work because "x" is not a namespace.

It is a namespace prefix.

Or at least, I'm guessing that you are using the string 'x' literally here, and not using it to mean something like "$OutputRoot/XMLNSC/http://www.test.com':data".

Using the explicit namespace value should work. Try "$OutputRoot/XMLNSC/"http://www.test.com":data" - or just using single-quotes instead of the inner double-quotes.
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 » Namespace not applicable when promote properties
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.