|
The ccsid can be controlled at the system level in a system valuethis,
(QCCSID), or at the user level in the profile definition.
IBM ships with a CCSID value = 65535.
If the user profile that is executing the parse is different than
un-intended results may occur. The CCSID value can be inherited fromuse
group profiles, so check those too.
I've run into SQL where the CCSID value was key to being able to even
some particular SQL XML-serialization actions. Related? I don't knowfor
sure. We are in the process of changing the group profiles forparticular
users to CCSID = 37 and leaving the shipped system value as is. Thisis
mostly due to corporate wariness. Others on this forum have noted noill
effects changing it mid-day. I'm not brave enough to go that route.:-)
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
Steve Needles
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
On Behalf Of RPGLISTLOL
Sent: Wednesday, August 28, 2013 11:49 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: XML Parser Error 12
The CCSID for the doc says UTF-8, I'm assuming that the program is the
same, but if you tell me how to check I'll be happy to let you know
first
Dutch,
I found an old post by Mr. Klement (back in 2007) that seemed to
question the CCSID values. Unfortunately, the thread never resolved.
Does the CCSID value for your xml document match that that is in use
by the program at the time the parsing takes place?
Steve Needles
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of RPGLIST
Sent: Wednesday, August 28, 2013 9:44 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: XML Parser Error 12
The very first line of the doc starts out:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
So I'm not thinking that either :)
Its gonna turn out to be something stupid... supposedly its an error
that can be ignored, but your guess is as good as mine on how to do
that.
I see on Google a reference to this error when the xml declaration
(e.g.
<?xml version="1.0" ?> ) does not start in the first byte of the
document. Could this be your issue?
Trevor Briggs
Analyst/Programmer
Lincare, Inc.
(727) 431-1246
TBriggs2@xxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of RPGLIST
Sent: Wednesday, August 28, 2013 9:57 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: XML Parser Error 12
I don't believe so, actually I'm only attempting to extract the
about...section of the document right now and there is no field like that.
Error code 12 is saying I have a mixed case, but I'm telling it in
the options to ignore any case, so I've been beating my head against
the glass
:)
This is a complete WAG, but is it possible that you have a fieldcalled
'xml' and that is a reserved word?uppercase
Trevor Briggs
Analyst/Programmer
Lincare, Inc.
(727) 431-1246
TBriggs2@xxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of RPGLIST
Sent: Wednesday, August 28, 2013 9:23 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: XML Parser Error 12
I am getting a parser error 12:
"A processing instruction target name was 'xml' in lowercase,
or
mixed case."
I have double checked all the subfields to ensure they match the
tags but for the life of me I have no idea now what this is
*********************************************************************(RPG400-L)
Is there something in particular I should be looking for?
Dutch
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
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.
**********************************************************************
**
the*
**
************************************************************
This message originates from Lincare Holdings Inc. It containsinformation
which may be confidential or privileged and is intended only for
*********************************************************************individual or entity named above.the
It is prohibited for anyone else to disclose, copy, distribute or
use
contents of this message.not to
All personal messages express views solely of the sender, which are
be attributed to Lincare Holdings Inc., and may not be copied or
distributed without this disclaimer.
If you received this message in error, please notify us immediately
at MailAdmin@xxxxxxxxxxx or (800) 284-2006.
**********************************************************************
**
a*
**
************************************************************
(RPG400-L)
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
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.
--
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
http://archive.midrange.com/rpg400-l.moment to review the archives at
*********************************************************************
**********************************************************************
use*
****************************************************************
This message originates from Lincare Holdings Inc. It contains
information which may be confidential or privileged and is intended
only for the individual or entity named above.
It is prohibited for anyone else to disclose, copy, distribute or
*********************************************************************the contents of this message.
All personal messages express views solely of the sender, which are
not to be attributed to Lincare Holdings Inc., and may not be copied
or distributed without this disclaimer.
If you received this message in error, please notify us immediately
at MailAdmin@xxxxxxxxxxx or (800) 284-2006.
**********************************************************************
a*
****************************************************************
--
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
http://archive.midrange.com/rpg400-l.moment to review the archives at
RPG400-L@xxxxxxxxxxxx
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email:
http://archive.midrange.com/rpg400-l.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
have
________________________________
This communication, including attachments, is confidential, may be
subject to legal privileges, and is intended for the sole use of the
addressee.
Any use, duplication, disclosure or dissemination of this
communication, other than by the addressee, is prohibited. If you
RPG400-L@xxxxxxxxxxxxreceived this communication in error, please notify the sender
immediately and delete or destroy this communication and all copies.
TRVDiscDefault::1201
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email:
http://archive.midrange.com/rpg400-l.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
(RPG400-L)
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx Tosubscribe,
unsubscribe, or change list options,(RPG400-L)
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.
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
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 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.