|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Error opening .esql files in 6.1 toolkit |
« View previous topic :: View next topic » |
Author |
Message
|
mattynorm |
Posted: Fri Apr 18, 2008 4:30 am Post subject: Error opening .esql files in 6.1 toolkit |
|
|
Acolyte
Joined: 06 Jun 2003 Posts: 52
|
We are currently upgrading from Broker v5 to 6.1, and are testing the message flows with 6.1 to ensure they work as expected. One particular .esql file (when opened with the ESQL editor) returns the message
"Unable to create this part due to an internal error. Reason for the failure: Argument not valid" and fails to display in the toolkit.
After commenting out various lines, it would appear that the editor doesn't like the line
SET OutputRoot.XML.start.Extract = appRef.name;
, in particular the .Extract part of it (if I change it to .Extrac, or .Extraction, or ."Extract" it will display just fine)
Anyone know why this would be? Is it that .Extract is some sort of reserved Java method. And if I do change it to OutputRoot.XML.start."Extract" , will it behave in the same way? |
|
Back to top |
|
 |
Gaya3 |
Posted: Fri Apr 18, 2008 4:41 am Post subject: Re: Error opening .esql files in 6.1 toolkit |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
mattynorm wrote: |
SET OutputRoot.XML.start.Extract = appRef.name;
|
SET OutputRoot.XML.(XML.Element)start.(XML.Element)Extract = appRef.name;
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Fri Apr 18, 2008 4:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
And if you have to change the ESQL for opperational reason, give some thought to upgrading from the XML domain to the XMLNS or better still XMLNSC one.
The XML domain is depreciated and, if you're editing & retesting the file anyway, you might as well do it all in one than go through the process twice.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 18, 2008 6:52 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, please use XMLNSC parser in v6.1 for all your XML processing needs.
It will even validate against schemas for you. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirankinnu |
Posted: Fri Apr 18, 2008 9:48 am Post subject: |
|
|
 Centurion
Joined: 12 Jun 2004 Posts: 128 Location: Chicago, IL
|
The ESQL syntax validator now performs strict validation which might be causing this to fail. Open the ESQL file With -> Text Editor and remove unused variables which are Declared. Open the file back with ESQL editor.
Regards,
Kiran |
|
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
|
|
|
|