Is there a size limit?
| Project: | XML Content |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
When I paste XML content that is 287kb (file size) and enable a configured XML Content input filter I get a white HTTP 500 error page:-
"The website cannot display the page"
This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.- When I display using other filters the page displays successfully although obviously the content is rendered without the XSL formatting.
- If I reduce the XML content by removing about a quarter the filter works without a problem, nicely formatted.
- If I leave the previously rmoved content and remove a different section it works i.e. it is not the nature of the content that causes the problem, just the size.
- Uploading the original file as an attachment and then viewing the attachment (referencing the same XSL/XSLT) dispalys very quickly - although ofcourse it is not embedded within the site layout etc. this way.
So it looks distinctly like an embedded limit somewhere within "XML Content" or the PHP XML modules.
The XML content I tested with is a small test file compared to the expected live usage - between 1,000 to 10,000kb.
{I will look at options for automatically spliting and generating sub-nodes (e.g. using sub-form or node-relativity etc.) at configurably defined XML sub elements, something I suggested before but even these could breach the apparent current size limit}
| Attachment | Size |
|---|---|
| msi.xslt_.txt | 12.47 KB |
| orca.xml_.txt | 286.86 KB |

#1