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

Re: XML not parsing



I did not set a breakpoint in my XML handling procedure. Probably should 
have, but was trying to do all of the step into and step through. 
Unfortunately doing all of that took so much time the connection was reset 
by the service. Being somewhat of a newbie to doing http/xml services with 
the parsing verses a plain socket got me kind of lost in the process. I'm at 
a point now that I think I can finish what I needed to do. HTTPAPI is a 
great toolkit, and the people on this board are a great assistance. Thanks 
Scott and Mike.


----- Original Message ----- 
From: "Scott Klement" <sk@xxxxxxxxxxxxxxxx>
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, July 30, 2009 8:23 PM
Subject: Re: XML not parsing


>I don't quite follow this.  Are you saying that if you set a breakpoint
> in your XML handler procedures, it doesn't stop on that breakpoint?  (It
> does for me!)
>
> Or are you saying that you used Step-Into and it didn't stop? Again, it
> does for me -- but you have to step through all of the intervening code,
> including a lot of HTTPAPI code and a lot of Expat code, which is a lot
> of work just to get to your handler.  Setting a breakpoint is nicer.
>
> Or are you expecting it to jump to your handler without step-into and
> without a breakpoint?  That it certainly won't (and shouldn't) do!
>
>
> Kevin Schreur wrote:
>> What surprised me is that in debug, the procedures written for the 
>> element
>> start and end did not appear to execute in debug, but do under the 
>> covers. I
>> think that is an issue for IBM. If you pass a pointer to a procedure, 
>> when
>> that procedure executes and the program that contains it is in debug, you
>> should see that. Personally I think that is a big security hole!
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
> 


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------