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

RE: HTTPAPI returns a "Host name look up failed"



   Hi Scott,
   Ok, now things are starting to make sense.  Actually I used the
   pre-compiled version of Expat, and probably version 1.95.8.  I will
   download version 2.0.0 of Expat and see if that doesn't make a
   difference.
   I'm juggling multiple priorities right now, but should have something
   to report back to you in a couple of days.
   Thanks to Thomas for helping me pinpoint this, and thanks to you for
   your help as well.  I'll let you know what happens.
   Cheers,
   Rich

   [1]i'm EMAILING FOR THE GREATER GOOD
   Join me

   > Date: Wed, 6 May 2009 15:49:41 -0500
   > From: sk@xxxxxxxxxxxxxxxx
   > To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   > Subject: Re: HTTPAPI returns a "Host name look up failed"
   >
   > Hi Rich,
   >
   > I'm sorry if you already answered this question, but... did you
   > compile Expat yourself, or did you download it precompiled from my
   web site?
   >
   > To be compatible with version 1.17 or higher of HTTPAPI, Expat
   *must* be
   > compiled to output UTF-16 Unicode. Your copy, it would appear, is
   > outputting UTF-8 instead of UTF-16.
   >
   > If you compiled it yourself, please make sure that you have
   XML_UNICODE
   > defined in EXPAT_CO.H. (I have that set by default in version 2.0.0
   of
   > Expat, but do not have it set in 1.95.8).
   >
   > If you download it precompiled from me, please make sure you
   download
   > version 2.0.0 of Expat.
   >
   > The intention was to use 1.95.8 for people who have existing
   programs
   > that need UTF-8 output, or who are using HTTPAPI version 1.16 or
   earlier.
   >
   > And version 2.0.0 for people who want UTF-16 (Which is MUCH MUCH
   easier
   > to deal with in RPG) or who are using HTTPAPI version 1.17 or
   higher.
   >
   >
   > Rich Kitterman wrote:
   > > Thomas,
   > > Sorry for the delay - I'm back on task now. I agree that the F11
   > > thing was just a characteristic of V5R1's version of the debugger.
   > > I added the breakpoint as instructed (#1, below) and got the same
   > > values we've already seen for "element".
   > > I added the next breakpoints as instructed (#2, below) and got the
   > > following:
   > > > EVAL len
   > > LEN = 7
   > > > EVAL localName
   > > LOCALNAME =
   > > > EVAL localName :x 32
   > > 00000 736F6170 3A456E76 656C6F70 65000000 -
   > > Ë?/ø.á>ÎÁ%?øÁ...
   > > 00010 00000000 00000000 00000000 00000000 -
   > > ................
   > > Now, here's something interesting. Compare my hex value to yours:
   > > Mine
   > > 00000 736F6170 3A456E76 656C6F70 65000000 -
   > > Ë?/ø.á>ÎÁ%?øÁ...
   > > 00010 00000000 00000000 00000000 00000000 -
   > > ................
   > > Yours
   > > 00000 0073006F 00610070 003A0045 006E0076 - .Ë.?./.ø...á.>.Î
   > > 00010 0065006C 006F0070 00650000 00000000 - .Á.%.?.ø.Á.....
   > > Notice how they're identical, except yours has two zeros leading
   every
   > > two non-zero values, while mine has compressed the leading zeros
   out.
   > > I would hazard an ignorant guess and say that's the problem. What
   to
   > > do about it I have no clue.
   > > At the second breakpoint, I get this:
   > > > Eval p_xlname :x 13
   > > 00000 3F3F3F3F 3F3F3F00 00000000 00...... - ................
   > > How would you like to proceed?
   > > And thanks, by the way, for the amount of time & effort you've
   spent
   > > helping me with this. I appreciate it very much.
   > > Rich
   > >
   >
   ----------------------------------------------------------------------
   -
   > This is the FTPAPI mailing list. To unsubscribe, please go to:
   > http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   ----------------------------------------------------------------------
   -

References

   1. http://im.live.com/Messenger/IM/Home/?source=EML_WLHM_GreaterGood
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------