Re: [xml] xmlCharEncoding problem

Hi Daniel,

attached is a little C program, which is, what my application does. It runs well on my Debian box and fails on the Fedora machine.

I compiled the code with:
 # gcc -I/usr/include/libxml2 -lxml2 -o xmltest xmltest.c

On Fedora, the little program exits with the message:
bad encoding result: 0

I hope that is of some use. :-)


--On Tuesday, September 27, 2005 10:37:07 AM -0400 Daniel Veillard <veillard redhat com> wrote:

On Tue, Sep 27, 2005 at 04:06:19PM +0200, harry_b mm st wrote:
and the input() procedure always returns 0, whatever I try to encode. I
am  also catching all return codes along the way but all seems to be ok.

I can not find anything wrong with the code since it behaves well on
other  systems. Unfortunately I don't get any error message along the
way, so I am  kinda out of ideas what might be wrong.

Can somebody give me a little hint where to look for the problem?

  not without a complete standalone program and an explanation of what is
going wrong:
   standalone -> so I or other can reproduce what you are doing
   explanation -> what is wrong so we can look at it



1024D/40F14012 18F3 736A 4080 303C E61E  2E72 7E05 1F6E 40F1 4012

Version: 3.12
GIT/S dx s: a C++ ULS++++$ P+++ L+++$ !E W++ N+ o? K? !w !O !M
V PS+ PE Y? PGP+++ t+ 5-- X+ R+ !tv b++ DI++ D+ G e* h r++ y++

Attachment: xmltest.c
Description: Text Data

Attachment: pgpPlJjISO7Gj.pgp
Description: PGP signature

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