Problems with large content
| Project: | XML Content |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
When i use bigger XML file as content and assign a xslt against it I get warnings:
warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag PropertyReference line 14 in Entity, line: 15 in C:\Program Files\Apache Group\Apache2\htdocs\drupal\sites\default\modules\xmlcontent\xmlcontent.module on line 221.
warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag Property line 4 in Entity, line: 15 in C:\Program Files\Apache Group\Apache2\htdocs\drupal\sites\default\modules\xmlcontent\xmlcontent.module on line 221.
warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag Group line 2 in Entity, line: 15 in C:\Program Files\Apache Group\Apache2\htdocs\drupal\sites\default\modules\xmlcontent\xmlcontent.module on line 221.
warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag SubmitPortfolioInformationData line 1 in Entity, line: 15 in C:\Program Files\Apache Group\Apache2\htdocs\drupal\sites\default\modules\xmlcontent\xmlcontent.module on line 221.
Due to this when i post the content on front it gives error also not display as per xslt applied, but when viewed as more it shows proper and perfect output as required aslo when edited the same lots of error in watchdog tables insert shows.
Please do help me out!!!!

#1
Are you sure the XML and XSLT are valid and well-formatted? And are there any memory-related errors in your logs (watchdog, apache)? Post them if it's possible.
#2
I had the same error. I turned off the "Line break converter" filter then everything worked as expected! Hope this helps others.
#3
The line breaker converter can indeed cause problems when the content of a node is XML.