Re: [xml] parse error on MVS - Start tag expected, '<' not found

On Thu, Jun 23, 2016 at 10:03 AM, Stéphane Michaut <smichaut axway com> wrote:

I am trying to parse a buffer that contains an XSD document using
xmlParseMemory on MVS. I have the following error

Entity: line 1: parser error : Start tag expected, '<' not found

   _%      ?>        > ?  >                                 /%      ?


It seems the buffer, hence the file, is not well formed: it doesn’t begin
with the expected ‘<’ character…

The file is UTF-8 and when looking inside with hex on, it looks fine: the
first character is ‘<’ encoded as 4C, which is it’s EBCDIC representation.

I don't get this sentence. UTF-8 and EBCDIC are mutually exclusive
(they are both methods of representing characters with numbers).

GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]