× 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.



302 The parser does not support the requested CCSID value or the first
character of the XML document was not '<'.

From
https://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_61/rzasc/sc092507227.htm

IBM service call maybe?

On Tue, Dec 1, 2015 at 11:07 AM, Åke Olsson <ake.olsson@xxxxxx> wrote:

Here is the problem:

We have an application that is run with same code base world wide.

In this we receive - in the form of an MQ message - an XML formatted
string.

The application program receives the message, parses it (XML-SAX) and
responds with other data in the reply-queue for the message.

All this works perfectly fine, except in one environment. One company
running same application (and receiving the same datafeed) is Latvia where
the receiving job runs under CCSID='1112'.

Here it all breaks completely with the XML-error stated as "302" (whatever
that means).

I have created a "sandbox" where I have the message on and MQ-Queue, uses
a browse function to read the message while leaving it on the queue and
calls the parsing program.
I have been able to verify that the only time it fails is where the
receiving job is running with a non latin-1 CCSID.

The question now is: What is the way around this? I have tried replacing
XML-SAX with XML-INTO (using the path parameter) but the results are
identical as it works brilliantly with all other CCSID:s.



Med vänlig hälsning / Best regards

Åke H Olsson
Senior Consultant

[cid:image003.jpg@01D12C5A.A8FFCBF0]<http://www.pdb.se/>

Phone: +4636 34 29 00
Direct: +4636 34 29 76 , +46705 48 29 76
Address: Box 433, SE-551 16 Jönköping, Sweden
Visit: Brunnsgatan 11
ake.olsson@xxxxxx<mailto:ake.olsson@xxxxxx>
www.pdb.se<http://www.pdb.se>

This message, and/or attachment (-s), may contain confidential
information. It may not be disclosed to, or used by, anyone other than the
addressee. If you receive this message in error, please advise the sender
immediately. Thank you

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.