XForms - External instance XML data size limit? 64K?

Aurelian <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Hi,

While trying to understand why repeat seems to cause a "memory leak" I 
stumbled on the following situation illustrated in this WAR:

I'm using

<xf:submission id="__get_schedule" 
action="http://localhost:8080/XFSchMgr/XMLData"
method="post" ref="instance('__schedule_selector')"
replace="instance" instance="__schedule" />

to retrieve external instance data. Data is a mock schedule randomly 
generated by the attached servlet and I tried to retrieve several days 
of it.

I can retrieve 5 days worth of "schedule data" (roughly 64000 bytes) but 
I get an xforms-submit-error for 6 days (roughly 78000 bytes).

Is there a limitation on the size of the external instance data?



To reproduce: deploy the war (I tested on Tomcat v5.5 with J2SE 1.5), 
point the browser to http://localhost:8080/XFIssues/xmlSizeLimit.xhtml 
and click the button. Then edit the HTML file to retrieve 5 days instead 
on 6 and try again. The servlet would write the XML size to System.out.


Version stuff:
Firefox version: 1.5 beta 1 (Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4)

XForms plugin version: 0.2 (xforms-win-ff15beta1.xpi downloaded from 
XForms site on Sep. 26, 2005).

Best Regards,
Aurelian Penciu
XFIssues.war (application/octet-stream, 21.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.