Re: [U2] XML arrays

2012-03-01 Thread Symeon Breen
List Subject: Re: [U2] XML arrays This is a case where the programmer is getting the start and end tags, but data is missing in the middle.The vendor is saying that the data is an array in xml that is missing. Dan Goble | IT Senior Software Engineer Interline Brands, Inc. 804 East Gate Drive

Re: [U2] XML arrays

2012-03-01 Thread Dan Goble
List' Subject: Re: [U2] XML arrays Is the actual http stream truncated, or is it just part of the payload that is truncated. If the first then there is some network/protocol error, if the latter it could be an error in application you are connecting to, or a misunderstanding as to what da

Re: [U2] XML arrays

2012-03-01 Thread Symeon Breen
: [U2] XML arrays We do this in uv, but it is most likely the same in unidata. When receiving the XML you get a "chunk" (buffer) full at a time. You must save (write) this buffer to a file or other array, and then go back and get more until it is done. Basically, receive, write, repeat (

Re: [U2] XML arrays

2012-03-01 Thread Carl Dula
We do this in uv, but it is most likely the same in unidata. When receiving the XML you get a "chunk" (buffer) full at a time. You must save (write) this buffer to a file or other array, and then go back and get more until it is done. Basically, receive, write, repeat (loop). You might ask how

Re: [U2] XML arrays

2012-03-01 Thread Symeon Breen
Is the actual http stream truncated, or is it just part of the payload that is truncated. If the first then there is some network/protocol error, if the latter it could be an error in application you are connecting to, or a misunderstanding as to what data you are trying to get. Are you able to c

Re: [U2] XML arrays

2012-02-29 Thread Robert Houben
Make sure that the programmer understands, if he is using an event-driven parser, that you may get the text in an element in multiple calls to the receivedText (or equivalent) event handler. You get to accumulate it. Don't assume it will come back in just one chunk. -Original Message-