Re: [xml] moving code from MacOS 9 to MacOS X
- From: Kasimier Buchcik <K Buchcik 4commerce de>
- To: Marchese Stefano <stefano marchese sinedita it>
- Cc: ML-libxml2 <xml gnome org>
- Subject: Re: [xml] moving code from MacOS 9 to MacOS X
- Date: Fri, 31 Mar 2006 21:06:37 +0200
Hi,
On Fri, 2006-03-31 at 11:27 +0200, Marchese Stefano wrote:
... hi everybody,
I wonder of anybody can help to try to solve the following strange
problem.
I developed my xml parser on MacOS 9 and now I am trying moving this
application to MacOS X. My code parse XML files using xmlParseFile() and
xmlDocGetRootElement() APIs.
Then I test the "name" an the "type" content of each xmlNodePtr.
On MacOS 9 these fields are always right.
On MacOS X the "name" is right but the "type" is always 0.
Does anybody have an idea to try to solve this "unwanted" situation.
Compare the size of the xmlNode struct in both scenarios;
might be there's a mismatch; i.e. enums can have different
size, although I don't know the reason anymore - maybe someone with
more C-compiler knowledge can explain this to you.
We had similar problems with the Pascal header translations
when we moved from Delphi to Kylix.
Regards,
Kasimier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]