Question : OpenAgent and XML

I'm using flex to consume xml output by an OpenAgent ( https://www.TEST.com/TEST.nsf/aData?OpenAgent )

This agent will return allot of data. My problem is that it sometimes doesn't render the XML appropriately. It will print plain text, not in XML format. Then other times it will.

Is there a maximum on the amount of information that can be print ?

Is there some sort of timeout ? If an OpenAgent doesn't finish in a certain amount of time, does the agent just stop ?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
GOOD:
<terms>
  <term>Net 45</term>
  <term>Net 30</term>
  <term>Net 21</term>
  <term>Net 15</term>
  <term>Net 14</term>
  <term>Net 10</term>
  <term>Net 7</term>
  <term>Due On Receipt</term>
</terms>

BAD:
Net 45 Net 30 Net 21 Net 15 Net 14 Net 10 Net 7 Due On Receipt

Answer : OpenAgent and XML

Problem resolved

I had a random Print statement in the code and that was causing the problem.
Random Solutions  
 
programming4us programming4us