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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Problem Adding xsi:noNamespaceSchemaLocation Attribute

Post new topic  Reply to topic
 Problem Adding xsi:noNamespaceSchemaLocation Attribute « View previous topic :: View next topic » 
Author Message
albitkw
PostPosted: Fri Mar 26, 2010 9:37 am    Post subject: Problem Adding xsi:noNamespaceSchemaLocation Attribute Reply with quote

Novice

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

In version 6003, I want to use ESQL to produce a namespace def that includes an xsi:nonameSpaceSchemaLocation clause. Result should look like:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE BBG_XML_FIX_CMF><BBG_XML_FIX_CMF xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TradeCaptureReport.xsd">

Two SET statements are being used:

SET OutputRoot.XMLNS.BBG_XML_FIX_CMF.(XML.NamespaceDecl)xmlns:xsi = 'http//www.w3.org/2001/XMLSchema-instance';
SET OutputRoot.XMLNS.BBG_XML_FIX_CMF.(XML.Attribute)xsi:noNamespaceSchemaLocation= 'TradeCaptureReport.xsd';

But the results include prefix definition "NS1" (same results if XML.NamespaceDecl used for both SETs):

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE BBG_XML_FIX_CMF><BBG_XML_FIX_CMF
xmlns:NS1="xsi" NS1:noNamespaceSchemaLocation="TradeCaptureReport.xsd>

How do I elimintat the NS1 expression?
Back to top
View user's profile Send private message
albitkw
PostPosted: Fri Mar 26, 2010 5:13 pm    Post subject: Reply with quote

Novice

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

Nevermind, I found the following examples from an older post that worked quite well after I substituted my names:

SET OutputRoot.XMLMS.DCD.(XML.Attribute)"xmlns:xsi" value= 'http://www.w3.org/2001/XMLSchema-instance';

SET OutputRoot.XML.DCD.(XML.Attribute)"xsi:noNamespaceSchemaLoc" value='.\DCDLoad.xsd';
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Problem Adding xsi:noNamespaceSchemaLocation Attribute
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.