× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



David,

Replace your imbedded quote with: "

And it will work just fine!

I ran into the exact same thing not long ago.

Other values to replace:

                '&' - &
                '<'  - &gt;
                '>' -  &lt;

Bob


-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com]On Behalf Of David Gibbs
Sent: Wednesday, July 31, 2002 8:45 AM
To: midrange-l@midrange.com
Subject: QCDRCMDD generates bad XML??

Folks:

I'm trying to work with V5R1 Websphere Development Studio Client for
iSeries
using the command prompter.

Some of the commands I try to invoke from the client don't prompt
properly.

The commonality between the commands is that there is a quote mark '"'
in
the parameter prompt text.

Turns out that WDSC uses QCDRCMDD to extract the command definition
into
XML.  Unfortunately, the XML that is being generated is invalid.

The fragment of XML that is causing problems is this:
<Parm Kwd="QUOTE" PosNbr="1" KeyParm="NO" Type="CHAR" Min="0" Max="1"
Prompt="This parm contains "quotes"" Len="10" Rstd="NO" AlwUnprt="YES"
AlwVar="YES" Expr="NO" Full="NO" DspInput="YES" Choice="Character
value">

Obviously the prompt value is invalid, because of the quote marks.

We're working with someone at IBM on the problem, but he isn't
experiencing
it.

Our iSeries is running V5R1M0 (obviously) with the latest cume package.

I used Bruce Vining's example for extracting a command definition to
XML at
http://archive.midrange.com/rpg400-l/200206/msg00411.html to collect my
data.

Has anyone experienced anything similar?

Thanks!

david

--
David Gibbs
Sr. Software Engineer / R&D / MKS Inc., www.mks.com
Lombard, IL, USA; tel: 630-495-2108; fax: 630-495-3591
Build Better Software




_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.