Hi all,
  I'd like to know after parsing the string how I can explore the
  nodes and sub-nodes in the XML string. I mean what APIs are
  available to do so and how I can access them.
  Can enyone please help me.
   
  Best regards,
    Ahmad.

David Bertoni <[EMAIL PROTECTED]> wrote:
  Tatireddy, Vinod wrote:
>> alsm wrote,
>> I made the changes but now when the program executes
>> parser->parse(*memBufIs); an error occurs..
> typo mistake in my previuos email, casting should be from size not from input 
> buffer..
> unsigned int *len = reinterpret_cast(&InputSize);
> 

The behavior of dereferencing this pointer is undefined, and will 
certainly be a problem on a platform where sizeof(unsigned int) is 
smaller than sizeof(size_t).

If you really want a cast, this is the safe thing to do:

const unsigned int len = static_cast(InputSize);

Dave


                
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Reply via email to