[
https://issues.apache.org/jira/browse/TAPESTRY-961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bastian Voigt updated TAPESTRY-961:
-----------------------------------
Affects Version/s: 4.1.1
4.1.2
> Large XTile responses not parsed correctly (FireFox 1.5)
> --------------------------------------------------------
>
> Key: TAPESTRY-961
> URL: https://issues.apache.org/jira/browse/TAPESTRY-961
> Project: Tapestry
> Issue Type: Bug
> Components: Contrib
> Affects Versions: 4.0.2, 4.1.1, 4.1.2
> Environment: FireFox 1.5 browser, Firefox 2.0 browser
> Reporter: Paul Field
> Assignee: Jesse Kuhnert
> Attachments: XTile.script
>
>
> I'm returning a large string (approx 7k) from a listener called by the XTile
> component.
> XTile's extractData() function parses the response like this (relevant code
> chopped out):
> if (xml) dataList = xml.getElementsByTagName('sp');
> for (i = 0; i < dataLen; i++) {
> var child = dataList[i].firstChild; // THIS LINE IS
> THE PROBLEM....
> if (child)
> data[i] = child.data;
>
> }
> The parsing code assumes that the returned text will be a single child node
> of the 'sp' element. Unfortunately, the FireFox parser creates multiple text
> nodes (by default a text node is max 4k in size).
> See here for more info:
> http://www.quirksmode.org/bugreports/archives/2004/12/text_node_maxim.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]